Android Reference
DashPathEffect
android.graphics
Class DashPathEffect
-
-
Constructor Summary
Constructors
Constructor and Description |
DashPathEffect(float[] intervals,
float phase)
The intervals array must contain an even number of entries (>=2), with
the even indices specifying the "on" intervals, and the odd indices
specifying the "off" intervals.
|
-
-
Constructor Detail
-
DashPathEffect
public DashPathEffect(float[] intervals,
float phase)
The intervals array must contain an even number of entries (>=2), with
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
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.
- Parameters:
intervals
- array of ON and OFF distancesphase
- offset into the intervals array
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 313 / 158763977. Delta: 0.02224 с