Packagecom.yworks.canvas.geom
Interfacepublic interface IPoint
Implementors EdgeEndMoveHandle, ImmutablePoint, LabelPositionHandler, ReparentStripePositionHandler, ReshapeHandlerHandle

Interface for a point in 2D coordinate space.

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.



Public Properties
 PropertyDefined 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
Property Detail
xproperty
x:Number  [read-only]

Gets the current x coordinate of this point.

Depending on context the values returned may change over time.


Implementation
    public function get x():Number
yproperty 
y:Number  [read-only]

Gets the current y coordinate of this point.

Depending on context the values returned may change over time.


Implementation
    public function get y():Number