PathEffect

public final class PathEffect

PathEffect is the base class for objects in the Paint that affect the geometry of a drawing primitive before it is transformed by the canvas’ matrix and drawn. Dashing is implemented as a subclass of PathEffect.

  • Stamp the specified path to fill the shape, using the matrix to define the latice.

    Declaration

    Swift

    public static func make2DPath(matrix: inout Matrix, path: Path) -> PathEffect

    Parameters

    matrix

    <#matrix description#>

    path

    <#path description#>