struct

Ori::DSL::StyleArgs

Inherits Struct < Value < Object

Constructors

new(fg : String | Nil = nil, bg : String | Nil = nil, bold : Bool = false, dim : Bool = false, underline : Bool = false, strikethrough : Bool = false, border : Bool | Symbol | Nil = nil, border_fg : String | Nil = nil, padding : Int32 | Tuple(Int32, Int32) | Tuple(Int32, Int32, Int32, Int32) | Nil = nil, width : Int32 | String | Nil = nil, height : Int32 | String | Nil = nil, flex : Int32 = 0, direction : Symbol = :vertical, align : Symbol = :left, focusable : Bool = false, scrollable : Bool = false, bar_style : Symbol = :solid, gradient_to : String | Nil = nil)
Source

Instance methods

align
Source
bar_style
Source
bold
Source
border
Source
border_fg
Source
direction
Source
flex
Source
focusable
Source
gradient_to
Source
height
Source
padding
Source
scrollable
Source
strikethrough
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
underline
Source
width
Source