skia
    Preparing search index...

    Interface ContourMeasureIterConstructor

    interface ContourMeasureIterConstructor {
        new ContourMeasureIterConstructor(
            path: Path,
            forceClosed: boolean,
            resScale: number,
        ): ContourMeasureIter;
    }
    Index

    Constructors

    Constructors

    • Creates an ContourMeasureIter with the given path.

      Parameters

      • path: Path
      • forceClosed: boolean

        if path should be forced close before measuring it.

      • resScale: number

        controls the precision of the measure. values > 1 increase the precision (and possibly slow down the computation).

      Returns ContourMeasureIter