feat: draw line break marker #520
This commit is contained in:
@@ -32,6 +32,7 @@ export interface IDrawRowPayload {
|
||||
startIndex: number
|
||||
innerWidth: number
|
||||
zone?: EditorZone
|
||||
isDrawLineBreak?: boolean
|
||||
}
|
||||
|
||||
export interface IDrawFloatPayload {
|
||||
|
||||
@@ -13,6 +13,7 @@ import { ICursorOption } from './Cursor'
|
||||
import { IFooter } from './Footer'
|
||||
import { IGroup } from './Group'
|
||||
import { IHeader } from './Header'
|
||||
import { ILineBreakOption } from './LineBreak'
|
||||
import { IMargin } from './Margin'
|
||||
import { IPageBreak } from './PageBreak'
|
||||
import { IPageNumber } from './PageNumber'
|
||||
@@ -83,6 +84,7 @@ export interface IEditorOption {
|
||||
pageBreak?: IPageBreak
|
||||
zone?: IZoneOption
|
||||
background?: IBackgroundOption
|
||||
lineBreak?: ILineBreakOption
|
||||
}
|
||||
|
||||
export interface IEditorResult {
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
export interface ILineBreakOption {
|
||||
disabled?: boolean
|
||||
color?: string
|
||||
lineWidth?: number
|
||||
}
|
||||
@@ -18,4 +18,5 @@ export interface IRow {
|
||||
listIndex?: number
|
||||
offsetX?: number
|
||||
elementList: IRowElement[]
|
||||
isWidthNotEnough?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user