Section
Classes
Section
Implements
Constructors
Constructor
new Section(length, center): Section;
Parameters
| Parameter | Type |
|---|---|
length | number |
center | number |
Returns
Accessors
center
Get Signature
get center(): number;
Returns
number
Implementation of
length
Get Signature
get length(): number;
Returns
number
Implementation of
Methods
fromAxisX()
static fromAxisX(rectangle): ISection;
Parameters
| Parameter | Type |
|---|---|
rectangle | RotatedRectangleF |
Returns
fromAxisY()
static fromAxisY(rectangle): ISection;
Parameters
| Parameter | Type |
|---|---|
rectangle | RotatedRectangleF |
Returns
Interfaces
ISection
Properties
center
readonly center: number;
length
readonly length: number;