Skip to main content

Section

Classes

Section

Implements

Constructors

Constructor
new Section(length, center): Section;
Parameters
ParameterType
lengthnumber
centernumber
Returns

Section

Accessors

center
Get Signature
get center(): number;
Returns

number

Implementation of

ISection.center

length
Get Signature
get length(): number;
Returns

number

Implementation of

ISection.length

Methods

fromAxisX()
static fromAxisX(rectangle): ISection;
Parameters
ParameterType
rectangleRotatedRectangleF
Returns

ISection

fromAxisY()
static fromAxisY(rectangle): ISection;
Parameters
ParameterType
rectangleRotatedRectangleF
Returns

ISection

Interfaces

ISection

Properties

center
readonly center: number;
length
readonly length: number;
Was this page helpful?