Sets the control points used to place a corner cut label on an object, and the position along the curve at the control point.
Usage in Label Template XML
<pointGeneratorSettings>
<pgModule>MHDrawingPGCornerCut</pgModule>
<pgModuleSettings>
<locations>
<location id="1" target="0" />
<location id="12" target="0" curveRatio="0.25" />
</locations>
</pgModuleSettings>
</pointGeneratorSettings>
Customization
location ID
Determines the location of the point that the software places on a straight or turn feature.
XML value |
||
---|---|---|
Center At the centroid of the area of a closed shape (that is, the geometry must be a closed curve). The centroid cannot be on the curve. |
0 |
|
Middle At the middle point of a curve. |
1 |
|
Inmost At the innermost point inside the area of a closed shape (that is, the geometry must be a closed curve). |
2 |
|
At first end At the first end point of curve. |
3 |
|
At second end At the second end point of curve. |
4 |
|
Right On the right side of the range box for the curve. |
5 |
|
Left On the left side of the range box for the curve. |
6 |
|
Top On the top of the range box for the curve. |
7 |
|
Bottom On the bottom of the range box for the curve. |
8 |
|
Box center At the center of the range box for the curve. |
9 |
|
Default location Default location for the curve. |
10 |
|
At curve ratio At the curve ratio along the curve. |
12 |
|
Used with the curve ratio property. Used with positioning modules that use their start curve ratio and end curve ratio property. |
target
The curve used for determining location.
XML value |
||
---|---|---|
Default target Places points on the first curve of the 2D representation of the 3D object. The first curve is assigned internally by the software and is not predictable. |
0 |
|
All curves Places points on all curves of the 2D representation of the 3D object. |
1 |
|
Longest curve Places points on the first longest curve of the 2D representation of the 3D object. |
2 |
curveRatio
Point along the 2D curve when you use location id 12, specified as a ratio along the length of the curve. The value must be between 0.0 and 1.0.
curveRatio is used when location id is set to 12 (At curve ratio).