Package | com.yworks.graph.drawing |
Class | public class AbstractEdgeStyle |
Inheritance | AbstractEdgeStyle AbstractStyle Object |
Implements | IEdgeStyle |
Subclasses | PolylineEdgeStyle |
IEdgeStyle
s.
Property | Defined By | ||
---|---|---|---|
sourceArrow : IArrow
Gets the visual arrow at the source end of edges that use this style. | AbstractEdgeStyle | ||
styleRenderer : IStyleRenderer [read-only]
Gets the renderer implementation that has been supplied to
this instance upon creation. | AbstractStyle | ||
targetArrow : IArrow
Gets the visual arrow at the target end of edges that use this style. | AbstractEdgeStyle |
Method | Defined By | ||
---|---|---|---|
AbstractEdgeStyle(styleRenderer:IStyleRenderer)
Creates an instance using the provided renderer instance. | AbstractEdgeStyle | ||
clone():Object [override]
Creates a clone of this instance. | AbstractEdgeStyle | ||
Prepares the rendering of an IModelItem in a CanvasComponent by
adding ICanvasObject's to the provided canvas. | AbstractStyle |
Method | Defined By | ||
---|---|---|---|
Called by clone() to get a new instance of this. | AbstractEdgeStyle |
sourceArrow | property |
sourceArrow:IArrow
Gets the visual arrow at the source end of edges that use this style.
public function get sourceArrow():IArrow
public function set sourceArrow(value:IArrow):void
targetArrow | property |
targetArrow:IArrow
Gets the visual arrow at the target end of edges that use this style.
public function get targetArrow():IArrow
public function set targetArrow(value:IArrow):void
AbstractEdgeStyle | () | Constructor |
public function AbstractEdgeStyle(styleRenderer:IStyleRenderer)
Creates an instance using the provided renderer instance.
ParametersstyleRenderer:IStyleRenderer |
clone | () | method |
override public function clone():Object
Creates a clone of this instance.
ReturnsObject — A clone of this instance.
|
createClone | () | method |
protected function createClone():AbstractEdgeStyle
Called by clone()
to get a new instance of this.
Subclasses have to override this method
ReturnsAbstractEdgeStyle — A new configured instance of this.
|
flash.errors:IllegalOperationError — if this method has not been overridden.
|