Class ALspComplexStroke.TextBuilder
java.lang.Object
com.luciad.view.lightspeed.style.complexstroke.ALspComplexStroke.TextBuilder
- Enclosing class:
ALspComplexStroke
Used to build text strokes. For more information, see
ALspComplexStroke.text()
.- Since:
- 2013.1
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a new text strokeoffset
(double aOffset) Sets the offset, in pixels, of the text from the base linerotateUp
(boolean aRotateUp) Sets if the text should be flipped when it is turned upside down.Sets the textSets the texttextStyle
(TLspTextStyle aTextStyle) Sets the text style to use.
-
Method Details
-
text
Sets the text- Parameters:
aText
- the text- Returns:
this
-
text
Sets the text- Parameters:
aText
- the text- Returns:
this
-
rotateUp
Sets if the text should be flipped when it is turned upside down. The default istrue
.- Parameters:
aRotateUp
-true
to make sure the text is flipped when it is turned upside down,false
otherwise.- Returns:
this
-
offset
Sets the offset, in pixels, of the text from the base line- Parameters:
aOffset
- the offset, in pixels, of the text from the base line- Returns:
this
-
textStyle
Sets the text style to use.- Parameters:
aTextStyle
- the text style to use.- Returns:
this
-
build
Returns a new text stroke- Returns:
- a new text stroke
-