EllipseShape

Hierarchy

Index

Constructors

constructor

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

position

position: Property = new Property(this, PropertyType.POSITION)

Mapped field: p

Optional shapeIndex

shapeIndex: undefined | number

size

size: Property = new Property(this, PropertyType.SIZE)

Mapped field: s

Readonly type

type: ELLIPSE = ShapeType.ELLIPSE

Mapped field: ty

Mapped field value:el

Methods

fromJSON

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

  • Parameters

    • json: Record<string, any>

    Returns EllipseShape

    EllipseShape instance

toJSON

  • toJSON(): Record<string, any>

  • Returns Record<string, any>

    JSON object

Last updated