Package | com.yworks.canvas.geom |
Interface | public interface IPoint |
Implementors | EdgeEndMoveHandle, ImmutablePoint, LabelPositionHandler, ReparentStripePositionHandler, ReshapeHandlerHandle |
This interface provides read access to the coordinates only, however this does not
mean that an instance that implements IPoint
will always return the same values
for the coordinate properties. Often times the instance provides a dynamic read access
to the current state of a point. 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 | ||
---|---|---|---|
x : Number [read-only]
Gets the current x coordinate of this point. | IPoint | ||
y : Number [read-only]
Gets the current y coordinate of this point. | IPoint |
x | property |
x:Number
[read-only] Gets the current x coordinate of this point.
Depending on context the values returned may change over time.
public function get x():Number
y | property |
y:Number
[read-only] Gets the current y coordinate of this point.
Depending on context the values returned may change over time.
public function get y():Number