This is an automated email from the ASF dual-hosted git repository.
alinakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new c69f39c miterlimit and joints properties added in SolidColorStroke
c69f39c is described below
commit c69f39c1b8c70b4594efe54d7f3eac7961eaa68f
Author: alinakazi <[email protected]>
AuthorDate: Wed Mar 17 18:30:28 2021 +0500
miterlimit and joints properties added in SolidColorStroke
---
.../main/royale/mx/graphics/SolidColorStroke.as | 47 ++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/SolidColorStroke.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/SolidColorStroke.as
index 817def1..af99389 100644
---
a/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/SolidColorStroke.as
+++
b/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/SolidColorStroke.as
@@ -36,8 +36,55 @@ package mx.graphics
this.weight = weight;
this.color = color;
this.alpha = alpha;
+ this.joints = joints;
+ this.miterLimit = miterLimit;
}
+
+ private var _joints:String = "round";
+
+ /**
+ * The join type of two segments.
+ * Possible values are miter round and bevel.
+ *
+ * @default miter
+ *
+ * @see org.apache.royale.graphics.LineStyle
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion Royale 0.7
+ */
+ public function get joints():String
+ {
+ return _joints;
+ }
+ public function set joints(val:String):void
+ {
+ _joints = val;
+ }
+
+ private var _miterLimit:Number = 4;
+ /**
+ * The miter limit at the join of two segments.
+ *
+ * @default 4
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion Royale 0.7
+ */
+ public function get miterLimit():Number
+ {
+ return _miterLimit;
+ }
+ public function set miterLimit(val:Number):void
+ {
+ _miterLimit = val;
+ }
+
private var _weight:Number;
public function get weight():Number