Packagecom.yworks.canvas.geom
Interfacepublic interface IMutableRectangle extends IRectangle, ISize, IPoint, IMutablePoint, IPointSetter, ISizeSetter, IReshapeable
ImplementorsYRectangle

Interface for mutable rectangles aligned to the axes in 2D coordinate space with double precision coordinates.

This interface provides read and write access to the features of the rectangle.

This interface does not declare any additional methods. It combines the YPoint interface that describes the upper left corner of the rectangle with the IMutableSize interface that describes the width and height of the rectangle, as well as the IReshapeable interface that allows for setting the bounds of the rectangle in one call.



Public Properties
 PropertyDefined by
 Inheritedheight : Number
Gets the current height of this instance.
ISize
 Inheritedheight : Number
Sets the height of this instance.
ISizeSetter
 Inheritedwidth : Number
Gets the current width of this instance.
ISize
 Inheritedwidth : Number
Sets the width of this instance.
ISizeSetter
 Inheritedx : Number
Gets the current x coordinate of this point.
IPoint
 Inheritedx : Number
The x coordinate of this point.
IPointSetter
 Inheritedy : Number
Gets the current y coordinate of this point.
IPoint
 Inheritedy : Number
The y coordinate of this point.
IPointSetter
Public Methods
 MethodDefined by
 Inherited
reshape(x:Number, y:Number, width:Number, height:Number):void
Set the bounds of the instance to the new values.
IReshapeable