Getting one
Insets.new(…)
Container.new():getInsets()
EmptyBorder.new(…):getBorderInsets()
Methods
| Method | Returns | Description |
|---|
new(top: number, left: number, bottom: number, right: number) | Insets | Insets.new(top, left, bottom, right): four edge widths. |
|---|
Fields
| Field | Type | Description |
|---|
top | number | top: the edge above. |
|---|
left | number | left: the left edge. |
|---|
bottom | number | bottom: the edge below. |
|---|
right | number | right: the right edge. |
|---|
Method details
new: (top: number, left: number, bottom: number, right: number) -> Insets
Insets.new(top, left, bottom, right): four edge widths.