@mocanvas/mocanvas · interface

GeoFlip

interface GeoFlip

Which axes a silhouette is mirrored about, inside its own w × h box.

A flip is a property of the *outline*, not of the shape's transform: the box and the label stay where they are, and only the drawing inside them turns over. That is what makes a flipped triangle still occupy exactly its own bounds, and what keeps its label upright.


Properties · 2

flipX?: boolean | undefined
flipY?: boolean | undefined

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.