feat:add Text lineSpacing

This commit is contained in:
pengfei.zhou
2020-03-24 11:06:30 +08:00
committed by osborn
parent a25aedcc6f
commit 0cfbef67a2
12 changed files with 75 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ export interface IText extends IView {
font?: string
maxWidth?: number
maxHeight?: number
lineSpacing?: number
}
export class Text extends View implements IText {
@@ -57,6 +58,9 @@ export class Text extends View implements IText {
@Property
maxHeight?: number
@Property
lineSpacing?: number
}
export function text(config: IText) {