class GSF::StyledTextSection
- GSF::StyledTextSection
- Reference
- Object
Defined in:
gsf/styled_text.crConstructors
Instance Method Summary
-
#dup
Returns a shallow copy of this object.
- #fill_color : SF::Color
- #outline_color : SF::Color
- #styles : Array(SF::Text::Style)
- #text : String
- #text=(text : String)
- #to_text(base_text : SF::Text)
Constructor Detail
def self.new(text : String, styles : Array(SF::Text::Style), fill_color : SF::Color, outline_color : SF::Color)
#
Instance Method Detail
def dup
#
Description copied from class Reference
Returns a shallow copy of this object.
This allocates a new object and copies the contents of
self
into it.