@mocanvas/editor · class

SharedStyleMap

declare class SharedStyleMap extends ReadonlySharedStyleMap

The writable form, used while the shared styles are being computed.


Methods · 1

applyValue<T>(prop: StyleProp<T>, value: T): void

Record a value seen on a shape.

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.