fromJSON MethodStatic

Promote json object form to class instance.

  • First try to convert to a ClipShape.
  • then try as a standalone instance of the base class ClipPrimitive.

fromJSON(json: ClipPrimitiveProps): ClipPrimitive | undefined

Parameter Type Description
json ClipPrimitiveProps  

Returns - ClipPrimitive | undefined

Defined in

Last Updated: 28 April, 2026