Merge change 21311 into eclair

* changes:
  fix documentation
This commit is contained in:
Android (Google) Code Review
2009-08-14 12:38:51 -07:00

View File

@ -23,13 +23,13 @@ public class DashPathEffect extends PathEffect {
* the even indices specifying the "on" intervals, and the odd indices
* specifying the "off" intervals. phase is an offset into the intervals
* array (mod the sum of all of the intervals). The intervals array
* controlls the width of the dashes. The paint's strokeWidth controlls the
* height of the dashes.
* controls the length of the dashes. The paint's strokeWidth controls the
* thickness of the dashes.
* 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
* style == FILL.
* @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) {
if (intervals.length < 2) {