enum

SF::Text::Style

Inherits Enum / Comparable / Value / Object

Enumeration of the string drawing styles

Constants

Regular = 0

Regular characters, no style

Bold = 1

Bold characters

Italic = 2

Italic characters

Underlined = 4

Underlined characters

StrikeThrough = 8

Strike through characters

None = 0
All = 15

Instance methods

bold?

Returns true if this enum value contains Bold

Source
italic?

Returns true if this enum value contains Italic

Source
none?
Source
regular?

Returns true if this enum value contains Regular

Source
strike_through?

Returns true if this enum value contains StrikeThrough

Source
underlined?

Returns true if this enum value contains Underlined

Source