Packagecom.yworks.canvas.geom
Interfacepublic interface ISize
Implementors ImmutableSize

Interface for an object that has a size in 2D coordinate space with double precision floating point size values.

This interface provides read access to the size only, however this does not mean that an instance that implements ISize will always return the same values for the size properties. Often times the instance provides a dynamic read access to the current state of an instance. It depends on the context whether it is allowed to or even necessary to copy the state of the properties or whether the reference to the instance should always be used to query the values.



Public Properties
 PropertyDefined By
  height : Number
[read-only] Gets the current height of this instance.
ISize
  width : Number
[read-only] Gets the current width of this instance.
ISize
Property Detail
heightproperty
height:Number  [read-only]

Gets the current height of this instance.

Depending on context the values returned may change over time.


Implementation
    public function get height():Number
widthproperty 
width:Number  [read-only]

Gets the current width of this instance.

Depending on context the values returned may change over time.


Implementation
    public function get width():Number