Interface: IAutoBounds
Hierarchy
↳
IAutoBounds
Implemented by
Table of contents
Properties
Methods
Properties
top
• Optional
top: number
Inherited from
Defined in
leafer/packages/interface/src/math/IMath.ts:135
right
• Optional
right: number
Inherited from
Defined in
leafer/packages/interface/src/math/IMath.ts:136
bottom
• Optional
bottom: number
Inherited from
Defined in
leafer/packages/interface/src/math/IMath.ts:137
left
• Optional
left: number
Inherited from
Defined in
leafer/packages/interface/src/math/IMath.ts:138
width
• Optional
width: number
Inherited from
Defined in
leafer/packages/interface/src/math/IMath.ts:143
height
• Optional
height: number
Inherited from
Defined in
leafer/packages/interface/src/math/IMath.ts:144
Methods
set
▸ set(top?
, right?
, bottom?
, left?
, width?
, height?
): void
Parameters
Name | Type |
---|---|
top? | number |
right? | number |
bottom? | number |
left? | number |
width? | number |
height? | number |
Returns
void
Defined in
leafer/packages/interface/src/math/IMath.ts:149
copy
▸ copy(auto
): void
Parameters
Name | Type |
---|---|
auto | IAutoBoundsData |
Returns
void
Defined in
leafer/packages/interface/src/math/IMath.ts:150
getBoundsFrom
▸ getBoundsFrom(parent
): IBounds
Parameters
Name | Type |
---|---|
parent | ISizeData |