Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit a05737b

Browse files
author
DEWITTE Pierre-Alban
committed
[Style]Add strokecolor and strokewidth attributes to allow stroke style customization
1 parent a273d53 commit a05737b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

myscript-text-web.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
canundo="{{ canundo }}"
6565
canredo="{{ canredo }}"
6666
canclear="{{ canclear }}"
67+
strokecolor="[[ strokecolor ]]"
68+
strokewidth="[[ strokewidth]]"
6769
on-changed="_onChanged"
6870
on-success="_onSuccess"
6971
on-error="_onError">
@@ -265,6 +267,20 @@
265267
type: Array,
266268
value: []
267269
},
270+
/**
271+
* Set the stroke color
272+
* @type String
273+
*/
274+
strokecolor: {
275+
type: String
276+
},
277+
/**
278+
* Set the stroke width
279+
* @type String
280+
*/
281+
strokewidth: {
282+
type: Number
283+
},
268284
/**
269285
* @type {{textCandidateListSize: Number, wordCandidateListSize: Number, wordPredictionListSize: Number, wordCompletionListSize: Number, characterCandidateListSize: Number, enableOutOfLexicon: Boolean, discardCaseVariations: Boolean, discardAccentuationVariations: Boolean, disableSpatialOrdering: Boolean, glyphDistortion: Number, spellingDistortion: Number}}
270286
*/

0 commit comments

Comments
 (0)