Crubbletea::Lipgloss::Style
Constructors
new(bold : Bool | Nil = nil, italic : Bool | Nil = nil, underline : Bool | Nil = nil, strikethrough : Bool | Nil = nil, reverse : Bool | Nil = nil, blink : Bool | Nil = nil, faint : Bool | Nil = nil, foreground : Color = nil, background : Color = nil, padding_top : Int32 | Nil = nil, padding_right : Int32 | Nil = nil, padding_bottom : Int32 | Nil = nil, padding_left : Int32 | Nil = nil, margin_top : Int32 | Nil = nil, margin_right : Int32 | Nil = nil, margin_bottom : Int32 | Nil = nil, margin_left : Int32 | Nil = nil, border : Crubbletea::Lipgloss::Border | Nil = nil, border_top : Bool = false, border_right : Bool = false, border_bottom : Bool = false, border_left : Bool = false, border_foreground : Color = nil, border_background : Color = nil, width : Int32 | Nil = nil, height : Int32 | Nil = nil, max_width : Int32 | Nil = nil, max_height : Int32 | Nil = nil, min_width : Int32 | Nil = nil, min_height : Int32 | Nil = nil, horizontal_align : Pos | Nil = nil, vertical_align : Pos | Nil = nil, inline : Bool = false, max_width_per_line : Bool = false)
SourceInstance methods
align(p : Pos) : Style
Sourcealign_horizontal(pos : Pos) : Style
Sourcealign_vertical(pos : Pos) : Style
Sourcebackground(color : Color) : Style
Sourceborder_background(color : Color) : Style
Sourceborder_foreground(color : Color) : Style
Sourcecopy_with(bold : Bool | Nil = nil, italic : Bool | Nil = nil, underline : Bool | Nil = nil, strikethrough : Bool | Nil = nil, reverse : Bool | Nil = nil, blink : Bool | Nil = nil, faint : Bool | Nil = nil, foreground : Color = COPY_UNSET_COLOR, background : Color = COPY_UNSET_COLOR, padding_top : Int32 | Nil = nil, padding_right : Int32 | Nil = nil, padding_bottom : Int32 | Nil = nil, padding_left : Int32 | Nil = nil, margin_top : Int32 | Nil = nil, margin_right : Int32 | Nil = nil, margin_bottom : Int32 | Nil = nil, margin_left : Int32 | Nil = nil, border : Border | Nil = nil, border_top : Bool | Nil = nil, border_right : Bool | Nil = nil, border_bottom : Bool | Nil = nil, border_left : Bool | Nil = nil, border_foreground : Color = COPY_UNSET_COLOR, border_background : Color = COPY_UNSET_COLOR, width : Int32 | Nil = nil, height : Int32 | Nil = nil, max_width : Int32 | Nil = nil, max_height : Int32 | Nil = nil, min_width : Int32 | Nil = nil, min_height : Int32 | Nil = nil, horizontal_align : Pos | Nil = nil, vertical_align : Pos | Nil = nil, inline : Bool | Nil = nil, max_width_per_line : Bool | Nil = nil) : Style
Sourceforeground(color : Color) : Style
Sourceget_background
Sourceget_foreground
Sourceget_height
Sourceget_horizontal_frame_size
Sourceget_horizontal_margin
Sourceget_horizontal_padding
Sourceget_margin_bottom
Sourceget_margin_left
Sourceget_margin_right
Sourceget_margin_top
Sourceget_padding_bottom
Sourceget_padding_left
Sourceget_padding_right
Sourceget_padding_top
Sourceget_vertical_frame_size
Sourceget_vertical_margin
Sourceget_vertical_padding
Sourceget_width
Sourcehas_border_bottom?
Sourcehas_border_left?
Sourcehas_border_right?
Sourcehas_border_top?
Sourceinherit(other : Style) : Style
SourceMacros
chain_bool(name)
Source