pptxtojson 1.3.0 → 1.3.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/README.md CHANGED
@@ -131,6 +131,12 @@ document.querySelector('input').addEventListener('change', evt => {
131
131
  - 垂直坐标 `top`
132
132
  - 宽度 `width`
133
133
  - 高度 `height`
134
+ - 边框颜色 `borderColor`
135
+ - 边框宽度 `borderWidth`
136
+ - 边框类型(实线、点线、虚线) `borderType`
137
+ - 非实线边框样式 `borderStrokeDasharray`
138
+ - 裁剪形状 `geom`
139
+ - 裁剪范围 `rect`
134
140
  - 图片地址(base64) `src`
135
141
  - 旋转角度 `rotate`
136
142
 
package/dist/index.d.ts CHANGED
@@ -94,6 +94,17 @@ export interface Image {
94
94
  isFlipH: boolean
95
95
  isFlipV: boolean
96
96
  order: number
97
+ rect?: {
98
+ t?: number
99
+ b?: number
100
+ l?: number
101
+ r?: number
102
+ }
103
+ geom: string
104
+ borderColor: string
105
+ borderWidth: number
106
+ borderType: 'solid' | 'dashed' | 'dotted'
107
+ borderStrokeDasharray: string
97
108
  }
98
109
 
99
110
  export interface TableCell {
@@ -241,6 +252,8 @@ export interface Group {
241
252
  rotate: number
242
253
  elements: BaseElement[]
243
254
  order: number
255
+ isFlipH: boolean
256
+ isFlipV: boolean
244
257
  }
245
258
  export type Element = BaseElement | Group
246
259