Polish the documentation for VectorDrawable and AnimatedVectorDrawable
Change-Id: If6bedf84cb01971c55b5a99ad921303dad638b24
This commit is contained in:
@@ -56,21 +56,21 @@ import java.util.Stack;
|
||||
* <p/>
|
||||
* <dt><code><vector></code></dt>
|
||||
* <dl>
|
||||
* <dd>Used to defined a vector drawable
|
||||
* <dd>Used to define a vector drawable
|
||||
* <dl>
|
||||
* <dt><code>android:name</code></dt>
|
||||
* <dd>Defines the name of this vector drawable.</dd>
|
||||
* <dt><code>android:width</code></dt>
|
||||
* <dd>Used to defined the intrinsic width of the drawable.
|
||||
* <dd>Used to define the intrinsic width of the drawable.
|
||||
* This support all the dimension units, normally specified with dp.</dd>
|
||||
* <dt><code>android:height</code></dt>
|
||||
* <dd>Used to defined the intrinsic height the drawable.
|
||||
* <dd>Used to define the intrinsic height the drawable.
|
||||
* This support all the dimension units, normally specified with dp.</dd>
|
||||
* <dt><code>android:viewportWidth</code></dt>
|
||||
* <dd>Used to defined the width of the viewport space. Viewport is basically
|
||||
* <dd>Used to define the width of the viewport space. Viewport is basically
|
||||
* the virtual canvas where the paths are drawn on.</dd>
|
||||
* <dt><code>android:viewportHeight</code></dt>
|
||||
* <dd>Used to defined the height of the viewport space. Viewport is basically
|
||||
* <dd>Used to define the height of the viewport space. Viewport is basically
|
||||
* the virtual canvas where the paths are drawn on.</dd>
|
||||
* <dt><code>android:tint</code></dt>
|
||||
* <dd>The color to apply to the drawable as a tint. By default, no tint is applied.</dd>
|
||||
@@ -120,7 +120,7 @@ import java.util.Stack;
|
||||
* <dt><code>android:name</code></dt>
|
||||
* <dd>Defines the name of the path.</dd>
|
||||
* <dt><code>android:pathData</code></dt>
|
||||
* <dd>Defines path string. This is using exactly same format as "d" attribute
|
||||
* <dd>Defines path data using exactly same format as "d" attribute
|
||||
* in the SVG's path data. This is defined in the viewport space.</dd>
|
||||
* <dt><code>android:fillColor</code></dt>
|
||||
* <dd>Defines the color to fill the path (none if not present).</dd>
|
||||
@@ -156,7 +156,7 @@ import java.util.Stack;
|
||||
* <dt><code>android:name</code></dt>
|
||||
* <dd>Defines the name of the clip path.</dd>
|
||||
* <dt><code>android:pathData</code></dt>
|
||||
* <dd>Defines clip path string. This is using exactly same format as "d" attribute
|
||||
* <dd>Defines clip path using the same format as "d" attribute
|
||||
* in the SVG's path data.</dd>
|
||||
* </dl></dd>
|
||||
* </dl>
|
||||
|
||||
Reference in New Issue
Block a user