class UIng::Area::Draw::TextLayout::Params

Included Modules

Defined in:

uing/area/area/draw/text_layout/params.cr

Constructors

Instance Method Summary

Macros inherited from module UIng::BlockConstructor

block_constructor block_constructor

Constructor Detail

def self.new(*args, &) #

[View source]
def self.new(*args, **kwargs, &) #

[View source]
def self.new(string : AttributedString, default_font : FontDescriptor, width : Float64, align : UIng::Area::Draw::TextAlign) #

[View source]

Instance Method Detail


[View source]
def align=(value : UIng::Area::Draw::TextAlign) #

[View source]
def default_font : FontDescriptor #

[View source]
def default_font=(value : FontDescriptor) #

[View source]
def string : AttributedString #

Explicit property accessors for better type safety and documentation


[View source]
def string=(value : AttributedString) #

[View source]
def to_unsafe #

[View source]
def width : Float64 #

[View source]
def width=(value : Float64) #

[View source]