@leafer/interface 1.12.0 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/interface",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "@leafer/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -679,8 +679,8 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
679
679
 
680
680
  // ILeafHit ->
681
681
  hit(world: IPointData, hitRadius?: number): boolean
682
- __hitWorld(point: IRadiusPointData): boolean
683
- __hit(local: IRadiusPointData): boolean
682
+ __hitWorld(point: IRadiusPointData, forceHitFill?: boolean): boolean
683
+ __hit(local: IRadiusPointData, forceHitFill?: boolean): boolean
684
684
  __hitFill(inner: IRadiusPointData): boolean
685
685
  __hitStroke(inner: IRadiusPointData, strokeWidth: number): boolean
686
686
  __hitPixel(inner: IRadiusPointData): boolean
package/types/index.d.ts CHANGED
@@ -1823,8 +1823,8 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
1823
1823
  resizeWidth(width: number): void;
1824
1824
  resizeHeight(height: number): void;
1825
1825
  hit(world: IPointData, hitRadius?: number): boolean;
1826
- __hitWorld(point: IRadiusPointData): boolean;
1827
- __hit(local: IRadiusPointData): boolean;
1826
+ __hitWorld(point: IRadiusPointData, forceHitFill?: boolean): boolean;
1827
+ __hit(local: IRadiusPointData, forceHitFill?: boolean): boolean;
1828
1828
  __hitFill(inner: IRadiusPointData): boolean;
1829
1829
  __hitStroke(inner: IRadiusPointData, strokeWidth: number): boolean;
1830
1830
  __hitPixel(inner: IRadiusPointData): boolean;