Packagecom.yworks.graph.drawing
Interfacepublic interface IPanelNodeStyle extends INodeStyle, IVisualStyle, ICloneable
Implementors PanelNodeStyle

Interface used by PanelNodeStyleRenderer to query the properties from.



Public Properties
 PropertyDefined By
  color : uint
[read-only] The base color to use (as RGB).
IPanelNodeStyle
  insets : Rectangle
[read-only] Provides the insets for the given item.
IPanelNodeStyle
  labelInsetsColor : uint
[read-only] The base color to use for drawing the label insets background (as RGB).
IPanelNodeStyle
 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
colorproperty
color:uint  [read-only]

The base color to use (as RGB).


Implementation
    public function get color():uint
insetsproperty 
insets:Rectangle  [read-only]

Provides the insets for the given item.

The insets are described as a rectangle interpreted as (left, top, right,bottom).

The PanelNodeStyleRenderer will use these insets and return them via an IInsetsProvider if such an instance is queried through the context lookup.


Implementation
    public function get insets():Rectangle
labelInsetsColorproperty 
labelInsetsColor:uint  [read-only]

The base color to use for drawing the label insets background (as RGB).

Setting this to uint.MAX_VALUE effectively disables label insets background coloring.


Implementation
    public function get labelInsetsColor():uint