class

GSDL::UI::Canvas

Inherits GSDL::UI::Container < GSDL::UI::Element < Reference < Object

Constructors

new(width : Int32 = FillParent, height : Int32 = FillParent, x : Int32 = 0, y : Int32 = 0, anchor : Anchor = Anchor::Center, background_color : Color = Color::Transparent, padding : SpacingInput = 0, margin : SpacingInput = 0, flex : UInt8 = 0_u8)
Source
new(*args, **kwargs)
Source
new(*args, **kwargs, &)
Source