struct CryTUI::Style

Defined in:

crytui/style.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(foreground : CryTUI::Color | Nil = nil, background : CryTUI::Color | Nil = nil, modifiers : CryTUI::Modifier = Modifier::None) #

[View source]

Instance Method Detail

def background : Color | Nil #

[View source]
def background=(background : Color | Nil) #

[View source]
def foreground : Color | Nil #

[View source]
def foreground=(foreground : Color | Nil) #

[View source]
def modifiers : Modifier #

[View source]
def modifiers=(modifiers : Modifier) #

[View source]
def patch(other : Style) : Style #

[View source]