GSDL::UI::Viewport
Inherits GSDL::UI::Canvas < 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 = 0, margin = 0, flex : UInt8 = 1_u8)
Sourcenew(*args, **kwargs)
Sourcenew(*args, **kwargs, &)
SourceInstance methods
draw(draw : Draw)
Sourcemax_zoom
Sourcemin_zoom
Sourcepan_x
Sourcepan_y
Sourcezoom
Source