Skip to main content

RingMat

Hierarchy​

Index​

Properties​

Methods​

Properties​

Static Readonly blueLineY​

▪ blueLineY: 88 = 88

Defined in id/position/ringMat.ts:13


Static Readonly centerX​

▪ centerX: 250 = 250

Overrides Mat.centerX

Defined in id/position/ringMat.ts:8


Static Readonly centerY​

▪ centerY: 250 = 250

Overrides Mat.centerY

Defined in id/position/ringMat.ts:9


Static Readonly greenLineY​

▪ greenLineY: 410 = 410

Defined in id/position/ringMat.ts:14


Static Readonly maxX​

▪ maxX: 455 = 455

Overrides Mat.maxX

Defined in id/position/ringMat.ts:6


Static Readonly maxY​

▪ maxY: 455 = 455

Overrides Mat.maxY

Defined in id/position/ringMat.ts:7


Static Readonly minX​

▪ minX: 45 = 45

Overrides Mat.minX

Defined in id/position/ringMat.ts:4


Static Readonly minY​

▪ minY: 45 = 45

Overrides Mat.minY

Defined in id/position/ringMat.ts:5


Static Readonly radius​

▪ radius: 190 = 190

Defined in id/position/ringMat.ts:12


Static Readonly startPointBlueSideX​

▪ startPointBlueSideX: 250 = 250

Defined in id/position/ringMat.ts:15


Static Readonly startPointBlueSideY​

▪ startPointBlueSideY: 198 = 198

Defined in id/position/ringMat.ts:16


Static Readonly startPointGreenSideX​

▪ startPointGreenSideX: 250 = 250

Defined in id/position/ringMat.ts:17


Static Readonly startPointGreenSideY​

▪ startPointGreenSideY: 300 = 300

Defined in id/position/ringMat.ts:18

Methods​

Static isInFrontOfBlueLine​

▸ isInFrontOfBlueLine(y: number): boolean

Defined in id/position/ringMat.ts:47

Specified coordinate is in front of the blue line of toio Collection ring mat or not.

Parameters:

NameTypeDescription
ynumberY coordinate of checking target point.

Returns: boolean

true iff specified (x, y) is in front of the blue line.


Static isInFrontOfGreenLine​

▸ isInFrontOfGreenLine(y: number): boolean

Defined in id/position/ringMat.ts:63

Specified coordinate is in front of the green line of toio Collection ring mat or not.

Parameters:

NameTypeDescription
ynumberY coordinate of checking target point.

Returns: boolean

true iff specified (x, y) is in front of the green line.


Static isInsideCircle​

▸ isInsideCircle(x: number, y: number): boolean

Defined in id/position/ringMat.ts:28

Specified coordinate is inside of the circle of toio Collection ring mat or not.

Parameters:

NameTypeDescription
xnumberX coordinate of checking target point.
ynumberY coordinate of checking target point.

Returns: boolean

true iff specified (x, y) is inside of the circle.


Static isOnMat​

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

Inherited from Mat.isOnMat

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.