struct Terminal::Style

Defined in:

styles.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(fore : Colorize::ColorRGB | Symbol | Nil = nil, back : Colorize::ColorRGB | Symbol | Nil = nil, bold : Bool | Nil = nil, bright : Bool | Nil = nil, dim : Bool | Nil = nil, blink : Bool | Nil = nil, reverse : Bool | Nil = nil, hidden : Bool | Nil = nil, italic : Bool | Nil = nil, blink_fast : Bool | Nil = nil, strikethrough : Bool | Nil = nil, underline : Bool | Nil = nil, double_underline : Bool | Nil = nil, overline : Bool | Nil = nil) #

[View source]

Macro Detail

macro merge_prop(prop) #

[View source]

Instance Method Detail

def +(other : Style) : Style #

[View source]
def back : Symbol | Colorize::ColorRGB | Nil #

[View source]
def back=(back : Symbol | Colorize::ColorRGB | Nil) #

[View source]
def blink : Bool | Nil #

[View source]
def blink=(blink : Bool | Nil) #

[View source]
def blink_fast : Bool | Nil #

[View source]
def blink_fast=(blink_fast : Bool | Nil) #

[View source]
def bold : Bool | Nil #

[View source]
def bold=(bold : Bool | Nil) #

[View source]
def bright : Bool | Nil #

[View source]
def bright=(bright : Bool | Nil) #

[View source]
def dim : Bool | Nil #

[View source]
def dim=(dim : Bool | Nil) #

[View source]
def double_underline : Bool | Nil #

[View source]
def double_underline=(double_underline : Bool | Nil) #

[View source]
def fore : Symbol | Colorize::ColorRGB | Nil #

[View source]
def fore=(fore : Symbol | Colorize::ColorRGB | Nil) #

[View source]
def hidden : Bool | Nil #

[View source]
def hidden=(hidden : Bool | Nil) #

[View source]
def italic : Bool | Nil #

[View source]
def italic=(italic : Bool | Nil) #

[View source]
def overline : Bool | Nil #

[View source]
def overline=(overline : Bool | Nil) #

[View source]
def reverse : Bool | Nil #

[View source]
def reverse=(reverse : Bool | Nil) #

[View source]
def strikethrough : Bool | Nil #

[View source]
def strikethrough=(strikethrough : Bool | Nil) #

[View source]
def underline : Bool | Nil #

[View source]
def underline=(underline : Bool | Nil) #

[View source]