@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 +2 -2
- package/src/ICommonAttr.ts +1 -1
- package/src/IUI.ts +2 -3
- package/src/index.ts +0 -1
- package/src/type/IComputedType.ts +1 -1
- package/src/type/IType.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer-ui/interface",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
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.
|
|
22
|
+
"@leafer/interface": "1.0.0-alpha.31"
|
|
23
23
|
}
|
|
24
24
|
}
|
package/src/ICommonAttr.ts
CHANGED
|
@@ -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,
|
|
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,
|
|
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
package/src/type/IType.ts
CHANGED