Packagecom.yworks.canvas.drawing
Classpublic class BlankVariableLinePaintable
InheritanceBlankVariableLinePaintable Inheritance VariableLinePaintable Inheritance AbstractSingleLineSnapResultPaintable Inheritance Object

Draws a line between the sourcePoint and targetPoint that is extended by the set offset.



Public Properties
 PropertyDefined By
 Inheritedoffset : Number
The offset used to extend the line between the source and target point.
VariableLinePaintable
 Inheritedorientation : SnapLineOrientation
The orientation of the SnapLine.
AbstractSingleLineSnapResultPaintable
 InheritedsourcePoint : IPoint
A position in world coordinates representing the source of the SnapLine.
AbstractSingleLineSnapResultPaintable
 Inheritedstroke : IStroke
The stroke used in the paint method.
AbstractSingleLineSnapResultPaintable
 InheritedtargetPoint : IPoint
The location in world coordinates where the target has snapped to the SnapLine.
AbstractSingleLineSnapResultPaintable
Public Methods
 MethodDefined By
 Inherited
Creates a new DisplayObject from scratch.
AbstractSingleLineSnapResultPaintable
 Inherited
[override] Draws a line between sourcePoint and targetPoint that is extended by the set offset.
VariableLinePaintable
 Inherited
updateDisplayObject(oldDisplayObject:DisplayObject, context:IDisplayObjectContext):DisplayObject
Updates the given DisplayObject or creates a new one.
AbstractSingleLineSnapResultPaintable
Protected Methods
 MethodDefined By
  
[override] Callback used by the paint method to paint the source and target points.
BlankVariableLinePaintable
Method Detail
markPoints()method
override protected function markPoints(g:YGraphics, ctx:IPaintContext):void

Callback used by the paint method to paint the source and target points. This implementation paints nothing.

Parameters

g:YGraphics — The graphics object to paint upon.
 
ctx:IPaintContext — The paint context.

See also

paint