Represents a Roof element.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Constructor for the class.

    Parameters

    • xOffset: number

      The x offset value.

    • yOffset: number

      The y offset value.

    • Optional height: number = 20

      The height value.

    • Optional width: number = 120

      The width value.

    • Optional rotation: number = 0.7

      The rotation value.

    • Optional strokeWidth: number = 3

      The stroke width value.

    • Optional perspective: number = 4

      The perspective value.

    • Optional cor: number = 5

      The corner radius value.

    Returns Roof

Properties

elements: Element[] = []

An array of Elements.

range: Range = ...

Methods