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)
SourceInstance methods
align
Sourcebar_style
Sourcebg
Sourcebold
Sourceborder
Sourceborder_fg
Sourcedim
Sourcedirection
Sourcefg
Sourceflex
Sourcefocusable
Sourcegradient_to
Sourceheight
Sourcepadding
Sourcescrollable
Sourcestrikethrough
Sourceto_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.
underline
Sourcewidth
Source