API / geotoolkit / gauges / ValueDisplayStrategies / ValueDisplayStrategies
gauges.ValueDisplayStrategies.ValueDisplayStrategies
Different modes that define how the value and name texts fit the regions they are rendered in.
Enumeration Members
Enumeration Members
• FitToHeight = "fittoheight"
Text fits the height of the region bounds. Ellipsis will be applied if does not fit the width.
• FromFont = "fromfont"
Keep the text font, but apply ellipsis if doesn't fit the container
• ResizeToFit = "resizetofit"
Resize the text to fit the bounds of its container
• RotateClockwise = "rotateclockwise"
If the width of the text is smaller than the width of the container, text will rotate clockwise.
• RotateCounterClockwise = "rotatecounterclockwise"
If the width of the text is smaller than the width of the container, text will rotate counterclockwise.
• ShrinkExpand = "shrinkexpand"
Text is calculated in model limits. Shrinks and expands with container. Unproportional.
• WrappedText = "wrappedtext"
Adds line breaks to fit region bounds.
• WrappedWords = "wrappedwords"
Adds line breaks between words to fit region bounds.