We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите сделать эту работу!
Вы можете также прочитать эту статью на English (US).

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

Properties

Representing an opaque object, there is no exposed property.

Methods

There is no inherited method.

CanvasPattern.setTransform()
Applies an SVGMatrix representing a linear transform to the pattern.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'CanvasPattern' in that specification.
Living Standard Added setTransform() method in v5.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support4 ?3.6993.1
setTransform No ?33 ?93.1
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ?2.1 ?410.03.2 Yes
setTransform ? ? ?33 ? ? No

See also

Метки документа и участники

Внесли вклад в эту страницу: fscholz, Acorath, teoli, tschneidereit, kscarfone, ethertank, Sheppy, Brettz9
Обновлялась последний раз: fscholz,