Packagecom.yworks.graph.drawing
Interfacepublic interface ISimpleLabelStyle extends ILabelStyle, IVisualStyle, ICloneable
Implementors SimpleLabelStyle

The interface used by SimpleLabelStyleRenderer to describe a basic label style.



Public Properties
 PropertyDefined By
  backgroundFill : IFill
[read-only] Gets the fill to use for the background box of the label or null
ISimpleLabelStyle
  backgroundStroke : IStroke
[read-only] Gets the pen to use for the background box of the label or null
ISimpleLabelStyle
  clipText : Boolean
[read-only] Gets a value that determines whether text should be clipped.
ISimpleLabelStyle
 InheritedstyleRenderer : IStyleRenderer
[read-only] Gets the renderer implementation that has been supplied to this instance upon creation.
IVisualStyle
  textFormat : UITextFormat
[read-only] Gets the text format used to format the text on a label drawn with this style.
ISimpleLabelStyle
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
backgroundFillproperty
backgroundFill:IFill  [read-only]

Gets the fill to use for the background box of the label or null


Implementation
    public function get backgroundFill():IFill
backgroundStrokeproperty 
backgroundStroke:IStroke  [read-only]

Gets the pen to use for the background box of the label or null


Implementation
    public function get backgroundStroke():IStroke
clipTextproperty 
clipText:Boolean  [read-only]

Gets a value that determines whether text should be clipped.


Implementation
    public function get clipText():Boolean
textFormatproperty 
textFormat:UITextFormat  [read-only]

Gets the text format used to format the text on a label drawn with this style.


Implementation
    public function get textFormat():UITextFormat