public interface ILabelStyle extends ICloneable
ILabel
instances in an IGraph
.
Implementations are responsible for rendering ILabel
instances in a
CanvasControl
. It is up to the implementation to interpret the visual appearance of a
label. The framework uses the associated, possibly shared Renderer
to perform the actual
rendering of this style for a given label. This interface extends the ICloneable
interface. This allows clients
to obtain a persistent copy of the current state of this style. Immutable style implementations may return themselves.
Working with styles (and their style renderers) is explained in detail in the section Visualization of Graph Elements.
Modifier and Type | Method and Description |
---|---|
ILabelStyleRenderer |
getRenderer()
Gets the renderer implementation that can be queried for implementations that provide details about the visual
appearance and visual behavior for a given label and this style instance.
|
clone
ILabelStyleRenderer getRenderer()
The idiom for retrieving, e.g. an IVisualCreator
implementation for a given style is: