new Offset(tOffsetopt, rOffsetopt, bOffsetopt, lOffsetopt) → {void}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
tOffset |
float |
<optional> |
0 | |
rOffset |
dynamic |
<optional> |
invalid | |
bOffset |
dynamic |
<optional> |
invalid | |
lOffset |
dynamic |
<optional> |
invalid |
Properties:
Name | Type | Description |
---|---|---|
top |
float | |
right |
float | |
bottom |
float | |
left |
float |
- Source:
Methods
set(offsetopt, rOffsetopt, bOffsetopt, lOffsetopt) → {void}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
offset |
float |
<optional> |
0 | |
rOffset |
dynamic |
<optional> |
invalid | |
bOffset |
dynamic |
<optional> |
invalid | |
lOffset |
dynamic |
<optional> |
invalid |
- Source: