Added Text Decoration options

This commit is contained in:
Timo Dittmann
2022-01-04 10:42:22 +01:00
parent 959ac047d9
commit 69e485352a
68 changed files with 385 additions and 1 deletions

View File

@@ -923,6 +923,9 @@ class SvgCanvas {
this.setBold = elemGetSet.setBoldMethod // Make the selected element bold or normal.
this.getItalic = elemGetSet.getItalicMethod // Check whether selected element is in italics or not.
this.setItalic = elemGetSet.setItalicMethod // Make the selected element italic or normal.
this.hasTextDecoration = elemGetSet.hasTextDecorationMethod // Check whether the selected element has the given text decoration or not.
this.addTextDecoration = elemGetSet.addTextDecorationMethod // Adds the given value to the text decoration
this.removeTextDecoration = elemGetSet.removeTextDecorationMethod // Removes the given value from the text decoration
this.setTextAnchor = elemGetSet.setTextAnchorMethod // Set the new text anchor.
this.getFontFamily = elemGetSet.getFontFamilyMethod // The current font family
this.setFontFamily = elemGetSet.setFontFamilyMethod // Set the new font family.