Function jiao::effects::d1_path_effect::make
source · pub fn make(
_path: &Path,
_advance: Scalar,
_phase: Scalar,
_style: Style
) -> Box<D1PathEffect>
Expand description
Dash by replicating the specified path.
§parameters
path
- The path to replicate (dash)advance
- The space between instances of pathphase
- distance (mod advance) along path for its initial positionstyle
- how to transform path at each point (based on the current position and tangent)