Skip to main content

Mat

Hierarchy

Index

Properties

Methods

Properties

Static Protected centerX

centerX: number

Defined in id/position/mat.ts:6


Static Protected centerY

centerY: number

Defined in id/position/mat.ts:7


Static Protected maxX

maxX: number

Defined in id/position/mat.ts:4


Static Protected maxY

maxY: number

Defined in id/position/mat.ts:5


Static Protected minX

minX: number

Defined in id/position/mat.ts:2


Static Protected minY

minY: number

Defined in id/position/mat.ts:3

Methods

Static isOnMat

isOnMat(x: number | undefined, y: number | undefined): boolean

Defined in id/position/mat.ts:17

Specified coordinate is on the mat or not.

Parameters:

NameTypeDescription
xnumber | undefinedX coordinate of checking target point.
ynumber | undefinedY coordinate of checking target point.

Returns: boolean

true iff specified (x, y) is on this mat.