Shape

Hierarchy

Index

Constructors

constructor

  • newShape(parent: any): Shape

  • Parameters

    • parent: any

    Returns Shape

Properties

Optional classNames

classNames: undefined | string

Optional id

id: undefined | string

isHidden

isHidden: boolean = false

Optional itemIndex

itemIndex: undefined | number

Optional matchName

matchName: undefined | string

Optional name

name: undefined | string

parent

parent: any

Optional shapeIndex

shapeIndex: undefined | number

Readonly Abstract type

Methods

Abstract fromJSON

  • fromJSON(json: Record<string, any>): Shape

  • Parameters

    • json: Record<string, any>

    Returns Shape

Abstract toJSON

  • toJSON(): Record<string, any>

  • Returns Record<string, any>

Last updated