Packagecom.yworks.graph.drawing
Interfacepublic interface IGeneralPathNodeStyle extends INodeStyle, IVisualStyle, ICloneable
Implementors GeneralPathNodeStyle

Interface for node styles that can display node shapes with a boundary that is defined by a GeneralPath instance.



Public Properties
 PropertyDefined By
  fill : IFill
[read-only] Gets the fill that is used to draw the shape.
IGeneralPathNodeStyle
  path : GeneralPath
[read-only] Get the path that defines the boundary of the shape.
IGeneralPathNodeStyle
  stroke : IStroke
[read-only] Gets the stroke that is used to draw the shape.
IGeneralPathNodeStyle
 InheritedstyleRenderer : IStyleRenderer
[read-only] Gets the renderer implementation that has been supplied to this instance upon creation.
IVisualStyle
Public Methods
 MethodDefined By
 Inherited
clone():Object
Creates a clone of this instance.
ICloneable
 Inherited
install(canvas:CanvasComponent, group:ICanvasObjectGroup, modelItem:IModelItem):Array
Prepares the rendering of an IModelItem in a CanvasComponent by adding ICanvasObject's to the provided canvas.
IVisualStyle
Property Detail
fillproperty
fill:IFill  [read-only]

Gets the fill that is used to draw the shape.


Implementation
    public function get fill():IFill
pathproperty 
path:GeneralPath  [read-only]

Get the path that defines the boundary of the shape.

The path must be defined in such a way that <0,0> will be at the top left of a node's INode.layout and <1,1> will be at the lower right. The path will be scaled accordingly during the painting.


Implementation
    public function get path():GeneralPath
strokeproperty 
stroke:IStroke  [read-only]

Gets the stroke that is used to draw the shape.


Implementation
    public function get stroke():IStroke