Skip to content

Interface: ILeafHit

Hierarchy

Table of contents

Methods

Methods

__hitWorld

__hitWorld(point): boolean

Parameters

NameType
pointIRadiusPointData

Returns

boolean

Defined in

leafer/packages/interface/src/display/module/ILeafHit.ts:8


__hit

__hit(inner): boolean

Parameters

NameType
innerIRadiusPointData

Returns

boolean

Defined in

leafer/packages/interface/src/display/module/ILeafHit.ts:9


__hitFill

__hitFill(inner): boolean

Parameters

NameType
innerIRadiusPointData

Returns

boolean

Defined in

leafer/packages/interface/src/display/module/ILeafHit.ts:10


__hitStroke

__hitStroke(inner, strokeWidth): boolean

Parameters

NameType
innerIRadiusPointData
strokeWidthnumber

Returns

boolean

Defined in

leafer/packages/interface/src/display/module/ILeafHit.ts:11


__hitPixel

__hitPixel(inner): boolean

Parameters

NameType
innerIRadiusPointData

Returns

boolean

Defined in

leafer/packages/interface/src/display/module/ILeafHit.ts:12


__drawHitPath

__drawHitPath(canvas): void

Parameters

NameType
canvasILeaferCanvas

Returns

void

Defined in

leafer/packages/interface/src/display/module/ILeafHit.ts:13


__updateHitCanvas

__updateHitCanvas(): void

Returns

void

Defined in

leafer/packages/interface/src/display/module/ILeafHit.ts:14

Released under the MIT License.