Merge change 21311 into eclair
* changes: fix documentation
This commit is contained in:
@ -23,13 +23,13 @@ public class DashPathEffect extends PathEffect {
|
|||||||
* the even indices specifying the "on" intervals, and the odd indices
|
* the even indices specifying the "on" intervals, and the odd indices
|
||||||
* specifying the "off" intervals. phase is an offset into the intervals
|
* specifying the "off" intervals. phase is an offset into the intervals
|
||||||
* array (mod the sum of all of the intervals). The intervals array
|
* array (mod the sum of all of the intervals). The intervals array
|
||||||
* controlls the width of the dashes. The paint's strokeWidth controlls the
|
* controls the length of the dashes. The paint's strokeWidth controls the
|
||||||
* height of the dashes.
|
* thickness of the dashes.
|
||||||
* Note: this patheffect only affects drawing with the paint's style is set
|
* Note: this patheffect only affects drawing with the paint's style is set
|
||||||
* to STROKE or STROKE_AND_FILL. It is ignored if the drawing is done with
|
* to STROKE or STROKE_AND_FILL. It is ignored if the drawing is done with
|
||||||
* style == FILL.
|
* style == FILL.
|
||||||
* @param intervals array of ON and OFF distances
|
* @param intervals array of ON and OFF distances
|
||||||
* @param phase offset before the first ON interval is drawn
|
* @param phase offset into the intervals array
|
||||||
*/
|
*/
|
||||||
public DashPathEffect(float intervals[], float phase) {
|
public DashPathEffect(float intervals[], float phase) {
|
||||||
if (intervals.length < 2) {
|
if (intervals.length < 2) {
|
||||||
|
Reference in New Issue
Block a user