The PaintWorklet interface of the CSS Painting API programmatically
an image where a CSS property expects a file. Access this interface
CSS.paintWorklet
.
The PaintWorklet interface of the CSS Painting API programmatically an image where a CSS property expects a file. Access this interface `CSS.paintWorklet`.
(device-pixel-ratio this)
Property.
The PaintWorklet.devicePixelRatio read-only property of the web.css.PaintWorklet
returns the current device's ratio of physical pixels to logical
var devicePixelRatio = paintWorklet.devicePixelRatio;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/devicePixelRatio
Property. The PaintWorklet.devicePixelRatio read-only property of the `web.css.PaintWorklet` returns the current device's ratio of physical pixels to logical `var devicePixelRatio = paintWorklet.devicePixelRatio;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/devicePixelRatio`
(paint this)
Property.
The PaintWorklet.devicePixelRatio read-only property of the web.css.PaintWorklet
returns the current device's ratio of physical pixels to logical
var devicePixelRatio = paintWorklet.devicePixelRatio;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/Paint%E2%80%8BWorklet%E2%80%8B.device%E2%80%8BPixel%E2%80%8BRatio
Property. The PaintWorklet.devicePixelRatio read-only property of the `web.css.PaintWorklet` returns the current device's ratio of physical pixels to logical `var devicePixelRatio = paintWorklet.devicePixelRatio;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/Paint%E2%80%8BWorklet%E2%80%8B.device%E2%80%8BPixel%E2%80%8BRatio`
(register-paint this name class)
Method.
The PaintWorklet.registerPaint() method of the web.css.PaintWorklet
registers a class programmatically generate an image where a
property expects a file.
registerPaint(name, class);
See also: https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/registerPaint
Method. The PaintWorklet.registerPaint() method of the `web.css.PaintWorklet` registers a class programmatically generate an image where a property expects a file. `registerPaint(name, class);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/registerPaint`
(set-device-pixel-ratio! this val)
Property.
The PaintWorklet.devicePixelRatio read-only property of the web.css.PaintWorklet
returns the current device's ratio of physical pixels to logical
var devicePixelRatio = paintWorklet.devicePixelRatio;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/devicePixelRatio
Property. The PaintWorklet.devicePixelRatio read-only property of the `web.css.PaintWorklet` returns the current device's ratio of physical pixels to logical `var devicePixelRatio = paintWorklet.devicePixelRatio;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/devicePixelRatio`
(set-paint! this val)
Property.
The PaintWorklet.devicePixelRatio read-only property of the web.css.PaintWorklet
returns the current device's ratio of physical pixels to logical
var devicePixelRatio = paintWorklet.devicePixelRatio;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/Paint%E2%80%8BWorklet%E2%80%8B.device%E2%80%8BPixel%E2%80%8BRatio
Property. The PaintWorklet.devicePixelRatio read-only property of the `web.css.PaintWorklet` returns the current device's ratio of physical pixels to logical `var devicePixelRatio = paintWorklet.devicePixelRatio;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/Paint%E2%80%8BWorklet%E2%80%8B.device%E2%80%8BPixel%E2%80%8BRatio`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close