Class representing an ellipse shape.

Hierarchy

Constructors

Methods

  • Returns void

  • Checks if the shape has shadows enabled.

    Returns

    True if shadows are enabled, false otherwise.

    Returns boolean

  • Returns GetSet<boolean, Node<NodeConfig>>

  • Returns boolean

  • Returns Node<NodeConfig>

  • Returns Shape<ShapeConfig>

  • Parameters

    • x2: number
    • y2: number

    Returns void

  • Returns void

  • Sets the background color of the shape.

    Parameters

    • color: string

      The background color.

    Returns void

  • Parameters

    • val: boolean

    Returns void

  • Sets the foreground color of the shape.

    Parameters

    • color: string

      The foreground color.

    Returns void

  • Enables or disables the shadow for the shape.

    Parameters

    • val: boolean

      True to enable shadow, false to disable.

    Returns void

  • Sets the stroke width of the shape.

    Parameters

    • num: number

      The stroke width.

    Returns void