class GSF::StyledTextSection

Defined in:

gsf/styled_text.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(text : String, styles : Array(SF::Text::Style), fill_color : SF::Color, outline_color : SF::Color) #

[View source]

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.


[View source]
def fill_color : SF::Color #

[View source]
def outline_color : SF::Color #

[View source]
def styles : Array(SF::Text::Style) #

[View source]
def text : String #

[View source]
def text=(text : String) #

[View source]
def to_text(base_text : SF::Text) #

[View source]