DK11 for Java | tatukgis.jdk.TGIS_LabelAlignment | Enums
Alignment within label.
// Java public enum TGIS_LabelAlignment { Single, LeftJustify, Center, RightJustify, Follow }
// Oxygene type TGIS_LabelAlignment = public ( Single, LeftJustify, Center, RightJustify, Follow };
Name | Value | Description | |
---|---|---|---|
Single | No alignment; single line label. | ||
LeftJustify | Align to left; multi-line allowed. | ||
Center | Center text; multi-line allowed. | ||
RightJustify | Align to right; multi-line allowed. | ||
Follow | label will follow the flow of shape; valid only for Arcs; ideal for river and streets labeling; any position will be tested for fitting with 10% tolerance; to place a label on a top of the shape set TGIS_ParamsLabel.Position to TGIS_LabelPosition.MiddleCenter; to force a label to display on arcs shorter than a label width set TGIS_ParamsLabel.Position to TGIS_LabelPosition.Flow. | ||