Text add strikethrough and underline

This commit is contained in:
pengfei.zhou
2020-04-13 17:41:17 +08:00
committed by osborn
parent 8faf0e5d33
commit 8cb135b7b1
13 changed files with 151 additions and 15 deletions

View File

@@ -2767,6 +2767,14 @@ __decorate$3([
Property,
__metadata$3("design:type", Number)
], Text.prototype, "lineSpacing", void 0);
__decorate$3([
Property,
__metadata$3("design:type", Boolean)
], Text.prototype, "strikethrough", void 0);
__decorate$3([
Property,
__metadata$3("design:type", Boolean)
], Text.prototype, "underline", void 0);
function text(config) {
const ret = new Text;
ret.layoutConfig = layoutConfig().fit();

File diff suppressed because one or more lines are too long