PathDashPathEffect
public class PathDashPathEffect
extends PathEffect
Summary
Public constructors
PathDashPathEffect
PathDashPathEffect (Path shape,
float advance,
float phase,
PathDashPathEffect.Style style)
用指定的形状冲压绘制的路径。 这仅适用于绘图风格为STROKE或STROKE_AND_FILL时的绘图。 如果油漆的风格是FILL,那么这个效果将被忽略。 paint的strokeWidth不影响结果。
Parameters |
shape |
Path : The path to stamp along |
advance |
float : spacing between each stamp of shape |
phase |
float : amount to offset before the first shape is stamped |
style |
PathDashPathEffect.Style : how to transform the shape at each position as it is stamped |