class

Dust::DrawState

Inherits Reference < Object

Constructors

new(indent : String, percent_bar : String, context : RenderContext)
Source

Instance methods

context
Source
generate_bar(node : DisplayNode, level : Int32) : String

Shades the parent's bar: the part this node fills becomes █, while the part inherited from its ancestors becomes progressively lighter.

Source
indent
Source
next_indent(has_children : Bool, last : Bool) : String
Source
percent_bar
Source