Package | com.yworks.canvas.geom |
Interface | public interface ISize |
Implementors | ImmutableSize |
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.
Property | Defined 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 |
height | property |
height:Number
[read-only] Gets the current height of this instance.
Depending on context the values returned may change over time.
public function get height():Number
width | property |
width:Number
[read-only] Gets the current width of this instance.
Depending on context the values returned may change over time.
public function get width():Number