GSF::StyledText
Inherits SF::Text < SF::Drawable < SF::Transformable < Reference < Object
Constants
FontSize = 10
Constructors
Class methods
Instance methods
global_bounds
Get the global bounding rectangle of the entity
The returned rectangle is in global coordinates, which means that it takes into account the transformations (translation, rotation, scale, ...) that are applied to the entity. In other words, this function returns the bounds of the text in the global 2D world's coordinate system.
Returns: Global bounding rectangle of the entity
parse_text_sections
Sourcestring=(string : String)
Set the text's string
A text's string is empty by default.
- string - New string
See also: string
to_words_and_spaces
Source