feat: add separator option #530

This commit is contained in:
Hufe921
2024-05-03 22:54:24 +08:00
parent 15f52c5e43
commit 7416a88151
8 changed files with 38 additions and 12 deletions
+2
View File
@@ -22,6 +22,7 @@ import { IPlaceholder } from './Placeholder'
import { ITitleOption } from './Title'
import { IWatermark } from './Watermark'
import { IZoneOption } from './Zone'
import { ISeparatorOption } from './Separator'
export interface IEditorData {
header?: IElement[]
@@ -87,6 +88,7 @@ export interface IEditorOption {
zone?: IZoneOption
background?: IBackgroundOption
lineBreak?: ILineBreakOption
separator?: ISeparatorOption
}
export interface IEditorResult {
+4
View File
@@ -0,0 +1,4 @@
export interface ISeparatorOption {
strokeStyle?: string
lineWidth?: number
}