Last updated

API / geotoolkit / gauges / ValueDisplayStrategies / ValueDisplayStrategies

Enumeration: ValueDisplayStrategies

gauges.ValueDisplayStrategies.ValueDisplayStrategies

Different modes that define how the value and name texts fit the regions they are rendered in.

Table of contents

Enumeration Members

Contents

Enumeration Members

FitToHeight

FitToHeight = "fittoheight"

Text fits the height of the region bounds. Ellipsis will be applied if does not fit the width.


FromFont

FromFont = "fromfont"

Keep the text font, but apply ellipsis if doesn't fit the container


ResizeToFit

ResizeToFit = "resizetofit"

Resize the text to fit the bounds of its container


RotateClockwise

RotateClockwise = "rotateclockwise"

If the width of the text is smaller than the width of the container, text will rotate clockwise.


RotateCounterClockwise

RotateCounterClockwise = "rotatecounterclockwise"

If the width of the text is smaller than the width of the container, text will rotate counterclockwise.


ShrinkExpand

ShrinkExpand = "shrinkexpand"

Text is calculated in model limits. Shrinks and expands with container. Unproportional.


WrappedText

WrappedText = "wrappedtext"

Adds line breaks to fit region bounds.


WrappedWords

WrappedWords = "wrappedwords"

Adds line breaks between words to fit region bounds.