struct Tallboy::Text

Defined in:

tallboy/render_tree_builder/node/text.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cell : ComputedCell) #

[View source]

Instance Method Detail

def align(*args, **options) #

[View source]
def align(*args, **options, &) #

[View source]
def blank_line #

[View source]
def height #

[View source]
def inspect #
Description copied from class Object

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

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

Also see #to_s.


[View source]
def render(line_num : Int32 = 0) #

[View source]
def value(line_num) #

[View source]
def value(*args, **options) #

[View source]
def value(*args, **options, &) #

[View source]
def width(*args, **options) #

[View source]
def width(*args, **options, &) #

[View source]
def with_align(text, align, width) #

[View source]
def with_padding(value) #

[View source]