Skip to main content
Version: 4.3

PaperTransform

type PaperTransform = string | DOMMatrix;

Viewport transform accepted by the <Paper> transform prop: either a CSS transform string (e.g. 'scale(0.5)', 'translate(10px, 20px) rotate(15deg)') or a DOMMatrix. Strings are parsed with the native DOMMatrix constructor.