Represents a complex SVG.

Implements

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Constructs a House object with specified parameters.

    Parameters

    • xOffset: number

      The x-coordinate offset of the house.

    • yOffset: number

      The y-coordinate offset of the house.

    • Optional strokeWidth: number = DEFAULT_STROKE_WIDTH

      The stroke width of the house.

    • Optional stories: number = DEFAULT_STORIES

      The number of stories in the house.

    • Optional rotation: number = DEFAULT_ROTATION

      The rotation of the house.

    • Optional style: number = DEFAULT_STYLE

      The style of the house.

    • Optional hasRail: boolean = DEFAULT_HAS_RAIL

      Whether the house has a rail.

    Returns House

Properties

elements: Element[] = []

An array of Elements.

range: Range = ...

Methods