Text object. More...
Text object.
GO2SText::GO2SText | ( | String | text, |
GO2SXYZ | pos, | ||
Number | height, | ||
GO2SEnum::GO2SAnchor | anchor = GO2SEnum::GO2SAnchor::Center, | ||
String | police = "arial", | ||
Boolean | bold = false, | ||
Boolean | italic = false, | ||
Boolean | mirror = false ) |
Create a text at a specific position
GO2SEnum::GO2SError GO2SText::SetAnchor | ( | GO2SEnum::GO2SAnchor | anchor | ) |
Set the anchor point
[in] | anchor | new anchor point |
GO2SEnum::GO2SError GO2SText::SetAngle | ( | Number | angle | ) |
Set the text angle
[in] | angle | new text angle |
GO2SEnum::GO2SError GO2SText::SetBold | ( | Boolean | bold | ) |
Set the bold attribute
[in] | bold | if true, build bold text |
GO2SEnum::GO2SError GO2SText::SetFilled | ( | Boolean | filled | ) |
Set the filled attribute
[in] | filled | if true, text will be filled |
GO2SEnum::GO2SError GO2SText::SetHeight | ( | Number | height | ) |
Set the height of a text line
[in] | height | height of text line |
GO2SEnum::GO2SError GO2SText::SetHorSpacing | ( | Number | spacing | ) |
Set the minimum spacing between 2 characters
[in] | spacing | spacing between 2 characters |
GO2SEnum::GO2SError GO2SText::SetItalic | ( | Boolean | italic | ) |
Set the italic attribute
[in] | italic | if true, build italic text |
GO2SEnum::GO2SError GO2SText::SetMirror | ( | Boolean | mirror | ) |
Set the mirror attributes
GO2SEnum::GO2SError GO2SText::SetPolice | ( | String | police | ) |
Set the text police
[in] | police | new police |
GO2SEnum::GO2SError GO2SText::SetPosition | ( | GO2SXYZ | pos | ) |
Set the text position
[in] | pos | new text position |
GO2SEnum::GO2SError GO2SText::SetText | ( | String | text | ) |
Set the text itself
[in] | text | new text |
GO2SEnum::GO2SError GO2SText::SetVerSpacing | ( | Number | spacing | ) |
Set minimum spacing between 2 lines
[in] | spacing | spacing between 2 lines |