Documentation
    Preparing search index...

    Interface ResolvedPatternPaint

    PatternPaint resolved — see ResolvedSolidPaint. The texture is held by reference, exactly as a material holds its map: a shape points at a texture it does not own (§83).

    interface ResolvedPatternPaint {
        kind: "pattern";
        offset: Point2D;
        opacity: number;
        repeat: Point2D;
        texture: MaterialTexture;
    }
    Index
    kind: "pattern"
    offset: Point2D

    See PatternPaint.offset; (0, 0) when none was authored.

    opacity: number

    See PatternPaint.opacity; 1 when none was authored.

    repeat: Point2D

    See PatternPaint.repeat; (1, 1) when none was authored.

    See PatternPaint.texture; the authored reference, not a copy.