API / geotoolkit / scene / shapes / Text / SizeMode
Enum of size modes (to specify that size mode depends from width and height use SizeMode.FixedWidth | SizeMode.FixedHeight)
Enumeration Members
Enumeration Members
• FixedHeight = 2
Fixed Height: calculates text size based on height
• FixedWidth = 1
Fixed Width: calculates text size based on width
• FromFont = 0
From Font: calculates text size based only on font
• FromFontWhenPossible = 4
From Font when possible: calculates text size based only on font. Makes it fit width/height if text too big.
• WrappedWidth = 5
Wrapped Width: adds line breaks between words to fit it into a user defined width Will not Split words that are larger than Width WARNING* This is an expensive operation and using it for very large pieces of texts is not advised If you know your width and font and will not be changing these it is better to manually split the line yourself
• WrappedWidthSplitWords = 6
WrappedWidthSplitWords: adds line breaks to text to fit it into a user defined width Will Split words that are larger than remains line Width WARNING* This is an expensive operation and using it for very large pieces of texts is not advised If you know your width and font and will not be changing these it is better to manually split the line yourself
• WrappedWidthWhenPossible = 7
WrappedWidthWhenPossible: adds line breaks to text to fit it into a user defined width Will Split words that are larger than shape Width WARNING* This is an expensive operation and using it for very large pieces of texts is not advised If you know your width and font and will not be changing these it is better to manually split the line yourself