Package | com.yworks.graph.drawing |
Interface | public interface IIconLabelStyle extends ISimpleLabelStyle, ILabelStyle, IVisualStyle |
Implementors | IconLabelStyle |
Property | Defined 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 | ||
icon : IIcon [read-only]
The icon to paint for the label. | IIconLabelStyle | ||
iconPlacement : ILabelModelParameter [read-only]
The icon placement model parameter. | IIconLabelStyle | ||
styleRenderer : 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 |
icon | property |
icon:IIcon
[read-only] The icon to paint for the label.
public function get icon():IIcon
iconPlacement | property |
iconPlacement:ILabelModelParameter
[read-only] The icon placement model parameter.
All valid node label model parameters can be used. The label's layout will be interpreted as the node's layout and the icon will be placed relative to that layout as if it was a node's label, e.g.
label.iconPlacement = ExteriorLabelModel.west;will place the icon left to the label.
public function get iconPlacement():ILabelModelParameter
See also