Skip to content
导航

Interface: IAutoBounds

Hierarchy

Implemented by

Table of contents

Methods

Properties

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


copy

copy(auto): void

Parameters

NameType
autoIAutoBoundsData

Returns

void

Defined in

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


getBoundsFrom

getBoundsFrom(parent): IBounds

Parameters

NameType
parentISizeData

Returns

IBounds

Defined in

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

Properties

top

Optional top: number

Inherited from

IAutoBoundsData.top

Defined in

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


Optional right: number

Inherited from

IAutoBoundsData.right

Defined in

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


bottom

Optional bottom: number

Inherited from

IAutoBoundsData.bottom

Defined in

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


left

Optional left: number

Inherited from

IAutoBoundsData.left

Defined in

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


width

Optional width: number

Inherited from

IAutoBoundsData.width

Defined in

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


height

Optional height: number

Inherited from

IAutoBoundsData.height

Defined in

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

Released under the MIT License.