Packagecom.yworks.canvas.geom
Interfacepublic interface IReshapeable

Interface for geometric primitives that can be reshaped, e.g. IMutableRectangle



Public Methods
 MethodDefined By
  
reshape(x:Number, y:Number, width:Number, height:Number):void
Set the bounds of the instance to the new values.
IReshapeable
Method Detail
reshape()method
public function reshape(x:Number, y:Number, width:Number, height:Number):void

Set the bounds of the instance to the new values.

Parameters

x:Number — The x coordinate of the upper left corner of the bounds
 
y:Number — The y coordinate of the upper left corner of the bounds.
 
width:Number — The width of the bounds.
 
height:Number — The height of the bounds