Implements
- I
Members
No filters for this type
Methods
Creates a parameter that delegates to the given parameter of an ILabelModel for nodes.
Creates a parameter that delegates to the given
parameter of an ILabelModel for nodes.final
Parameters
- parameter: ILabelModelParameter
- The parameter of an ILabelModel that supports nodes.
Return Value
- NodeLabelModelStripeLabelModelAdapterParameter
- A parameter to position the stripe label as if the stripe were a node.
Provides a lookup context for the given label.
Provides a lookup context for the given label.
Parameters
- label: ILabel
- The label to use in the context.
Return Value
- ILookup
- An implementation of the ILookup interface that can be used to query additional aspects of the label.
Implements
ILabelModel.getContextCalculates the geometry of the given label using the given model parameter.
Calculates the geometry of the given label using the given model parameter.
final
Parameters
- label: ILabel
- The label to calculate the geometry for.
- layoutParameter: ILabelModelParameter
- A parameter that is compatible with this model. Typically, this is a parameter that has been created by this model, and its property model returns this instance.
Return Value
- IOrientedRectangle
- An IOrientedRectangle that describes the geometry of the label. This is typically designed as a flyweight, therefore clients should not cache the instance but store the values if they need a snapshot for later use.
Implements
ILabelModel.getGeometryConstants
A shared public instance that can be used to obtain parameters.
A shared public instance that can be used to obtain parameters.