struct

GSDL::UI::Spacing

Inherits Struct < Value < Object

Constructors

from(value : SpacingInput) : Spacing

Convert a SpacingInput to a Spacing. An Int32 is treated as all: (uniform spacing on every side).

Source
new(top : Int32, right : Int32, bottom : Int32, left : Int32)
Source
new(horizontal : Int32, vertical : Int32)
Source
new(all : Int32 = 0)
Source

Instance methods

bottom
Source
bottom=(bottom : Int32)
Source
horizontal
Source
left
Source
left=(left : Int32)
Source
right
Source
right=(right : Int32)
Source
top=(top : Int32)
Source
vertical
Source