This is an automated email from the ASF dual-hosted git repository.
alinakazi pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/MXRoyale by this push:
new f37ba2c Update SolidColorStroke.as
f37ba2c is described below
commit f37ba2c1de474ec7e0d25c8575b256a8ed53df3c
Author: alinakazi <[email protected]>
AuthorDate: Mon Jun 11 09:21:14 2018 +0500
Update SolidColorStroke.as
---
.../main/royale/mx/graphics/SolidColorStroke.as | 36 ++++++++++++++++++++++
1 file changed, 36 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 9d0f6f1..9920d2b 100644
---
a/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/SolidColorStroke.as
+++
b/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/SolidColorStroke.as
@@ -26,5 +26,41 @@ package mx.graphics
{
super(color,weight,alpha);
}
+
+ //----------------------------------
+ // caps
+ //----------------------------------
+
+ private var _caps:String = "round";//CapsStyle.ROUND;
+
+ [Bindable("propertyChange")]
+ [Inspectable(category="General", enumeration="round,square,none",
defaultValue="round")]
+
+ /**
+ * Specifies the type of caps at the end of lines.
+ * Valid values are: <code>CapsStyle.ROUND</code>,
<code>CapsStyle.SQUARE</code>,
+ * and <code>CapsStyle.NONE</code>.
+ *
+ * @default CapsStyle.ROUND
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Royale 0.9.4
+ */
+ public function get caps():String
+ {
+ return _caps;
+ }
+
+ public function set caps(value:String):void
+ {
+ var oldValue:String = _caps;
+ if (value != oldValue)
+ {
+ _caps = value;
+ //dispatchStrokeChangedEvent("caps", oldValue, value);
+ }
+ }
}
}
--
To stop receiving notification emails like this one, please contact
[email protected].