C

FreeLabelModel

A label model that can be used to describe any position and orientation of a label.
Implements
Inheritance Hierarchy

Remarks

The position of the label is stored absolutely and is not influenced by the layout or position of the owner of the label. In fact, the owner is not even queried during a call to getGeometry.

Members

No filters for this type

Methods

Creates a new label model parameter that places the label at the given absolute position using the provided angle.
final

Parameters

anchorLocation: Point
conversion
The location for the parameter.
angle?: number
The angle of rotation. The default is 0.

Return Value

AbsoluteFreeLabelModelParameter
A new parameter that is associated with this instance.
Creates a new label at the given dynamic location using the provided angle.
final

Parameters

location: IPoint
conversion
The location to place the parameter at. That instance is stored by reference.
angle?: number
The angle of rotation. The default is 0.

Return Value

AnchoredFreeLabelModelParameter
A new parameter that is associated with this instance.
Creates a new label model parameter that dynamically reads the label layout from the provided instance.
final

Parameters

layout: IOrientedRectangle
The oriented rectangle to dynamically retrieve the values from.

Return Value

DynamicFreeLabelModelParameter
A new parameter that is associated with this instance.

Parameters

label: ILabel

Return Value

final

Parameters

label: ILabel
layoutParameter: ILabelModelParameter

Return Value

Constants

A shared public instance that can be used to obtain parameters.