From a8d671a144c4607c6ceb59ae8dc5b0535692639f Mon Sep 17 00:00:00 2001 From: Teng-Hui Zhu Date: Mon, 9 May 2016 09:54:34 -0700 Subject: [PATCH] Update and add attributes to the JavaDoc for VectorDrawable fix:28678266 Change-Id: Ife23937feb6ccbd043bd435ffcb20a79a8861edf --- .../android/graphics/drawable/VectorDrawable.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/graphics/java/android/graphics/drawable/VectorDrawable.java b/graphics/java/android/graphics/drawable/VectorDrawable.java index ef669715b1390..dd33e98cddf10 100644 --- a/graphics/java/android/graphics/drawable/VectorDrawable.java +++ b/graphics/java/android/graphics/drawable/VectorDrawable.java @@ -136,13 +136,13 @@ import dalvik.system.VMRuntime; *
Defines path data using exactly same format as "d" attribute * in the SVG's path data. This is defined in the viewport space.
*
android:fillColor
- *
Specifies the color used to fill the path. May be a color, also may be a color state list or - * a gradient color for SDK 24+. If this property is animated, any value set by the animation will + *
Specifies the color used to fill the path. May be a color or, for SDK 24+, a color state list + * or a gradient color. If this property is animated, any value set by the animation will * override the original value. No path fill is drawn if this property is not specified.
*
android:strokeColor
- *
Specifies the color used to draw the path outline. May be a color or (SDK 24+ only) a color - * state list. If this property is animated, any value set by the animation will override the - * original value. No path outline is drawn if this property is not specified.
+ *
Specifies the color used to draw the path outline. May be a color or, for SDK 24+, a color + * state list or a gradient color. If this property is animated, any value set by the animation will + * override the original value. No path outline is drawn if this property is not specified.
*
android:strokeWidth
*
The width a path stroke.
*
android:strokeAlpha
@@ -162,6 +162,9 @@ import dalvik.system.VMRuntime; *
Sets the lineJoin for a stroked path: miter,round,bevel.
*
android:strokeMiterLimit
*
Sets the Miter limit for a stroked path.
+ *
android:fillType
+ *
Sets the fillType for a path. It is the same as SVG's "fill-rule" properties. + * For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty
* * *