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:133


Optional right: number

Inherited from

IAutoBoundsData.right

Defined in

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


bottom

Optional bottom: number

Inherited from

IAutoBoundsData.bottom

Defined in

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


left

Optional left: number

Inherited from

IAutoBoundsData.left

Defined in

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


width

Optional width: number

Inherited from

IAutoBoundsData.width

Defined in

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


height

Optional height: number

Inherited from

IAutoBoundsData.height

Defined in

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

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:147


copy

copy(auto): void

Parameters

NameType
autoIAutoBoundsData

Returns

void

Defined in

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


getBoundsFrom

getBoundsFrom(parent): IBounds

Parameters

NameType
parentISizeData

Returns

IBounds

Defined in

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

Released under the MIT License.