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 path
  • phase - distance (mod advance) along path for its initial position
  • style - how to transform path at each point (based on the current position and tangent)