Packagecom.yworks.canvas.geom
Interfacepublic interface IMutableOrientedRectangle extends IOrientedRectangle, IOrientedRectangleSetter, IMutableSize, ISize, ISize, ISizeSetter, ISize
Implementors OrientedRectangle

Interface for mutable oriented rectangles in 2D coordinate space.



Public Properties
 PropertyDefined By
 InheritedanchorX : Number
[read-only] Returns the x coordinate of the anchor of the oriented rectangle.
IOrientedRectangle
 InheritedanchorX : Number
[write-only] Sets the x coordinate of the anchor of the oriented rectangle.
IOrientedRectangleSetter
 InheritedanchorY : Number
[read-only] Returns the y coordinate of the anchor of the oriented rectangle.
IOrientedRectangle
 InheritedanchorY : Number
[write-only] Sets the y coordinate of the anchor of the oriented rectangle.
IOrientedRectangleSetter
 Inheritedheight : Number
[read-only] Gets the current height of this instance.
ISize
 Inheritedheight : Number
[write-only] Sets the height of this instance.
ISizeSetter
 InheritedupX : Number
[read-only] Returns the x value of the up vector.
IOrientedRectangle
 InheritedupX : Number
[write-only] Sets the x value of the up vector.
IOrientedRectangleSetter
 InheritedupY : Number
[read-only] Returns the y value of the up vector.
IOrientedRectangle
 InheritedupY : Number
[write-only] Sets the y value of the up vector.
IOrientedRectangleSetter
 Inheritedwidth : Number
[read-only] Gets the current width of this instance.
ISize
 Inheritedwidth : Number
[write-only] Sets the width of this instance.
ISizeSetter
Public Methods
 MethodDefined By
  
setUpVector(upX:Number, upY:Number):void
Sets the orientation of this oriented rectangle by modifying the up vector components.
IMutableOrientedRectangle
Method Detail
setUpVector()method
public function setUpVector(upX:Number, upY:Number):void

Sets the orientation of this oriented rectangle by modifying the up vector components.

It is up to the caller to assure that the values describe a vector of length 1.

Parameters

upX:Number — The x component of the normalized up vector.
 
upY:Number — The y component of the normalized up vector.