Skip to main content

Function: uppKonvaShapePatchFromSource()

uppKonvaShapePatchFromSource(shape, s): boolean

Defined in: shapes/index.ts:231

Applies a wire row over an existing live shape preserving object identity (and observers).

Parameters​

shape​

UppKonvaShape

Live shape instance to mutate.

s​

UppKonvaShapeSource

Incoming wire row.

Returns​

boolean

true when kind and id are compatible and patch was applied.