Interface CanvasPattern

An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.

MDN Reference

interface CanvasPattern {
setTransform (transform?: DOMMatrix2DInit ): void;
}

Methods

Methods

setTransform

  • setTransform(transform?): void
  • Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation.

    MDN Reference

    Parameters

    Returns void

Settings

Member Visibility

On This Page

Methods

AltStyle によって変換されたページ (->オリジナル) /