Rectangle.Point
Encapsulates an X,Y coordinate point.
This class uses named export from Rectangle module.
Importing from sources:
import { Point } from 'path-to-lib/Core/helper/util/Rectangle.js';
Properties
9
Properties
9Functions
18
Functions
18Coerces this Point to be within the passed Rectangle. Translates it into the bounds.
| Parameter | Type | Description |
|---|---|---|
into | Rectangle | The Rectangle into which to coerce this Point. |
fromstatic
Creates a new Point encapsulating the event's page position.
| Parameter | Type | Description |
|---|---|---|
event | Event | The DOM event |
Returns: Rectangle
adjustRectangle
alignToRectangle
cloneRectangle
constrainToRectangle
containsRectangle
excludeRectangle
highlightRectangle
intersectRectangle
moveToRectangle
roundPxRectangle
translateRectangle
Typedefs
1
Typedefs
1AlignResultRectangle