@leafer/interface 1.6.5 → 1.6.6

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.6.5",
3
+ "version": "1.6.6",
4
4
  "description": "@leafer/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -138,7 +138,7 @@ interface ICanvasMethod {
138
138
  fillWorld(bounds: IBoundsData, color: string | object, blendMode?: string): void
139
139
  strokeWorld(bounds: IBoundsData, color: string | object, blendMode?: string): void
140
140
  clipWorld(bounds: IBoundsData, ceilPixel?: boolean): void
141
- clipUI(ruleData?: IWindingRuleData): void
141
+ clipUI(ruleData: IWindingRuleData): void
142
142
 
143
143
  clearWorld(bounds: IBoundsData, ceilPixel?: boolean): void
144
144
  clear(): void
package/types/index.d.ts CHANGED
@@ -1066,7 +1066,7 @@ interface ICanvasMethod {
1066
1066
  fillWorld(bounds: IBoundsData, color: string | object, blendMode?: string): void;
1067
1067
  strokeWorld(bounds: IBoundsData, color: string | object, blendMode?: string): void;
1068
1068
  clipWorld(bounds: IBoundsData, ceilPixel?: boolean): void;
1069
- clipUI(ruleData?: IWindingRuleData): void;
1069
+ clipUI(ruleData: IWindingRuleData): void;
1070
1070
  clearWorld(bounds: IBoundsData, ceilPixel?: boolean): void;
1071
1071
  clear(): void;
1072
1072
  }