Skip to content
Margin

UI / Margin

Margin Class ​

Basic margin, providing numerical modification in 4 directions

Table of contents ​

Properties ​

bottom: number
lower
left: number
Left
right: number
right
top: number
upper

The construction method of initializing four values with one value

Parameters ​

In numberUsage: Initialize value range: Unrestricted type: Floating point number

• new Margin(InLeft, InTop, InRight, InBottom)

structure

Parameters ​

InLeft numberUsage: lvalue range: unrestricted type: floating-point number
InTop numberUsage: upper value range: no restrictions type: floating point number
InRight numberUsage: Right value range: No restriction type: Floating point number
InBottom numberUsage: range: unlimited type: floating point number

Properties ​

bottom ​

• bottom: number

lower


left ​

• left: number

Left


• right: number

right


top ​

• top: number

upper