| Package | com.yworks.canvas.drawing |
| Class | public class AbstractSingleLineSnapResultPaintable |
| Inheritance | AbstractSingleLineSnapResultPaintable Object |
| Implements | IPaintable |
| Subclasses | FixedLinePaintable, VariableLinePaintable |
SnapLineSnapResults.
| Property | Defined By | ||
|---|---|---|---|
| orientation : SnapLineOrientation
The orientation of the SnapLine. | AbstractSingleLineSnapResultPaintable | ||
| sourcePoint : IPoint
A position in world coordinates representing the source of the SnapLine. | AbstractSingleLineSnapResultPaintable | ||
| stroke : IStroke
The stroke used in the paint method. | AbstractSingleLineSnapResultPaintable | ||
| targetPoint : IPoint
The location in world coordinates where the target has snapped to the SnapLine. | AbstractSingleLineSnapResultPaintable | ||
| Method | Defined By | ||
|---|---|---|---|
This implementation does nothing and has to be overridden by it's subclasses. | AbstractSingleLineSnapResultPaintable | ||
| orientation | property |
orientation:SnapLineOrientation
The orientation of the SnapLine.
public function get orientation():SnapLineOrientation public function set orientation(value:SnapLineOrientation):void| sourcePoint | property |
sourcePoint:IPoint
A position in world coordinates representing the source of the SnapLine.
public function get sourcePoint():IPoint public function set sourcePoint(value:IPoint):voidSee also
| stroke | property |
stroke:IStroke
The stroke used in the paint method.
public function get stroke():IStroke public function set stroke(value:IStroke):voidSee also
| targetPoint | property |
targetPoint:IPoint
The location in world coordinates where the target has snapped to the SnapLine.
public function get targetPoint():IPoint public function set targetPoint(value:IPoint):voidSee also
| paint | () | method |
public function paint(g:YGraphics, ctx:IPaintContext):voidThis implementation does nothing and has to be overridden by it's subclasses.
Parameters
g:YGraphics | |
ctx:IPaintContext |