@leafer-ui/interface 1.0.0-alpha.30 → 1.0.0-alpha.31

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-ui/interface",
3
- "version": "1.0.0-alpha.30",
3
+ "version": "1.0.0-alpha.31",
4
4
  "description": "@leafer-ui/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -19,6 +19,6 @@
19
19
  "leaferjs"
20
20
  ],
21
21
  "dependencies": {
22
- "@leafer/interface": "1.0.0-alpha.30"
22
+ "@leafer/interface": "1.0.0-alpha.31"
23
23
  }
24
24
  }
@@ -1,6 +1,6 @@
1
1
  import { IPaint, IStrokeAlign, IStrokeCap, IStrokeJoin, IBlurEffect, IFontWeight, ITextCase, ITextDecoration, IShadowEffect, IGrayscaleEffect, ITextAlign, IVerticalAlign, IOverflow, IUnitData } from './type/IType'
2
2
  import { ILeafStrokePaint, ILeafShadowEffect, ILeafPaint } from './type/IComputedType'
3
- import { IPaintString, IDashPatternString, IPercent, IShadowString, IStringColor, IStrokeWidthString, ICornerRadiusString } from './type/IStringType'
3
+ import { IPaintString, IDashPatternString, IShadowString, IStringColor, IStrokeWidthString, ICornerRadiusString } from './type/IStringType'
4
4
 
5
5
  // corner---
6
6
  export interface ICornerRadiusAttrData {
package/src/IUI.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ILeaf, ILeafComputedData, ILeafData, ILeafInputData, ILeaferCanvas, IRenderOptions, IPathDrawer, IPointData, IPath2D, IPathCommandData, IWindingRule, ILeaferImageConfig, IBoundsData, IObject, __Number, ILeaferImage } from '@leafer/interface'
2
2
 
3
3
  import { IPathString, IVectorPathString } from './type/IStringType'
4
- import { IOverflow, IUnitData, IVectorPath } from './type/IType'
4
+ import { IOverflow, IVectorPath } from './type/IType'
5
5
 
6
6
  import {
7
7
  IFillAttrData, IFillInputData, IFillComputedData,
@@ -290,6 +290,7 @@ export interface IUIData extends IUIComputedData, ILeafData {
290
290
  __isStrokes?: boolean
291
291
  __drawAfterFill?: boolean
292
292
  __isOverflow?: boolean
293
+ __blendLayer?: boolean
293
294
 
294
295
  __isTranslucentFill?: boolean // 半透明的
295
296
  __isTranslucentStroke?: boolean
@@ -303,8 +304,6 @@ export interface IUIData extends IUIComputedData, ILeafData {
303
304
  __pathForRender?: IPathCommandData
304
305
  __path2DForRender?: IPath2D
305
306
 
306
- __strokeOuterWidth?: number // boxBounds外面的笔触宽度
307
-
308
307
  // text
309
308
  __font?: string
310
309
  __textDrawData?: ITextDrawData
package/src/index.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { ITextStyleComputedData } from './ICommonAttr'
2
1
  export * from '@leafer/interface'
3
2
 
4
3
  export {
@@ -32,5 +32,5 @@ export interface ILeafShadowEffect {
32
32
  spread?: number
33
33
  color: IStringColor
34
34
  blendMode?: IBlendMode
35
- showBehind?: boolean // 仅用于 DropShadow
35
+ boxShadow?: boolean
36
36
  }
package/src/type/IType.ts CHANGED
@@ -117,7 +117,7 @@ export interface IShadowEffect {
117
117
  color: IStringColor | IColor
118
118
  blendMode?: IBlendMode
119
119
  visible?: boolean
120
- showBehind?: boolean // 仅用于 DropShadow
120
+ boxShadow?: boolean
121
121
  }
122
122
 
123
123
  export interface IBlurEffect {