Show an example of changing the color with setfill

This commit is contained in:
Duck
2022-06-16 07:56:03 -07:00
parent 4ef584b410
commit c182bbf66b
3 changed files with 16 additions and 0 deletions

View File

@@ -207,6 +207,7 @@ class RegularShape extends ImageStyle {
*/
setFill(fill) {
this.fill_ = fill;
this.render();
}
/**
@@ -325,6 +326,7 @@ class RegularShape extends ImageStyle {
*/
setStroke(stroke) {
this.stroke_ = stroke;
this.render();
}
/**