@mocanvas/editor · type

TLSharedOpacity

type TLSharedOpacity = {
    type: "shared";
    value: number;
} | {
    type: "mixed";
}

Opacity shared by the selection: a value, or "mixed", or 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.