Packagecom.yworks.graph.drawing
Interfacepublic interface IShapeNodeStyle extends INodeStyle, IVisualStyle, ICloneable
Implementors ShapeNodeStyle

Interface for node styles that can show predefined shapes defined in ShapeNodeShape

This style can be used together with ShapeNodeStyleRenderer

See also

com.yworks.graph.drawing.ShapeNodeShape


Public Properties
 PropertyDefined By
  fill : IFill
The fill for this style
IShapeNodeStyle
  shapeNodeShape : uint
The ShapeNodeShape for this style
IShapeNodeStyle
  stroke : IStroke
The stroke for this style.
IShapeNodeStyle
 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

The fill for this style


Implementation
    public function get fill():IFill
    public function set fill(value:IFill):void
shapeNodeShapeproperty 
shapeNodeShape:uint

The ShapeNodeShape for this style


Implementation
    public function get shapeNodeShape():uint
    public function set shapeNodeShape(value:uint):void

See also

strokeproperty 
stroke:IStroke

The stroke for this style.


Implementation
    public function get stroke():IStroke
    public function set stroke(value:IStroke):void