Skip to content

Interface: IAutoBounds

Hierarchy

Implemented by

Table of contents

Properties

Methods

Properties

top

Optional top: number

Inherited from

IAutoBoundsData.top

Defined in

leafer/packages/interface/src/math/IMath.ts:135


Optional right: number

Inherited from

IAutoBoundsData.right

Defined in

leafer/packages/interface/src/math/IMath.ts:136


bottom

Optional bottom: number

Inherited from

IAutoBoundsData.bottom

Defined in

leafer/packages/interface/src/math/IMath.ts:137


left

Optional left: number

Inherited from

IAutoBoundsData.left

Defined in

leafer/packages/interface/src/math/IMath.ts:138


width

Optional width: number

Inherited from

IAutoBoundsData.width

Defined in

leafer/packages/interface/src/math/IMath.ts:143


height

Optional height: number

Inherited from

IAutoBoundsData.height

Defined in

leafer/packages/interface/src/math/IMath.ts:144

Methods

set

set(top?, right?, bottom?, left?, width?, height?): void

Parameters

NameType
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

NameType
autoIAutoBoundsData

Returns

void

Defined in

leafer/packages/interface/src/math/IMath.ts:150


getBoundsFrom

getBoundsFrom(parent): IBounds

Parameters

NameType
parentISizeData

Returns

IBounds

Defined in

leafer/packages/interface/src/math/IMath.ts:151

Released under the MIT License.