The parameter for the SmartEdgeLabelModel.
Inheritance Hierarchy
SmartEdgeLabelModelParameter
Implemented Interfaces
Remarks
This parameter is similar to the EdgeSegmentLabelModelParameter but contains the distance value itself. An instance of this parameter describes the same location as a rotated slider parameter with the same values that was created by a rotated slider model with the same distance.
This class cannot be instantiated
Type Details
- yFiles module
- view
Properties
Gets the model that can be used to determine the geometry of a label given this parameter and a label instance.
Implements
Gets the placement of the label along the edge.
Remarks
This corresponds to the three creation methods createParameterFromSource, createParameterFromTarget and createParameterFromCenter.
Gets the ratio at the specified segment.
Remarks
Depending on the placeAlongEdge property, the ratio is counted in source-target direction, so
0
is at the bend with lower index and ratio 1
at the bend with the higher index, or in target-source direction. Ratios less than 0.0
or greater than 1.0
will be interpreted as absolute values in world coordinates.Gets the zero-based segment index.
Remarks
The index is positive or
0
. Depending on the placeAlongEdge property, the segment index is counted from the source or target side.Methods
Create a clone of this object.