Package | com.yworks.canvas.geom |
Interface | public interface IPointSetter |
YPoint
interface can implement one immutable interface (IPoint
) and
on mutable interface (IPointSetter
).
It's not possible to define only the setters here, since otherwise increment
and decrement operators on instances of this type would not be possible.
Also, we can't use just the YPoint
interface and define
the setters there since the compiler would then complain about all getter calls
to be ambigious.
Property | Defined By | ||
---|---|---|---|
x : Number
The x coordinate of this point. | IPointSetter | ||
y : Number
The y coordinate of this point. | IPointSetter |
x | property |
x:Number
The x coordinate of this point.
public function get x():Number
public function set x(value:Number):void
y | property |
y:Number
The y coordinate of this point.
public function get y():Number
public function set y(value:Number):void