Class representing a man SVG complex structure.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Constructs a Man instance.

    Parameters

    • xOffset: number

      X-coordinate offset for the man.

    • yOffset: number

      Y-coordinate offset for the man.

    • Optional horizontalFlip: boolean = true

      Indicates whether the man is flipped horizontally.

    • Optional scaling: number = 0.5

      Scaling factor for the man.

    • Optional bodyPartLengths: number[] = ...

      Array representing the lengths of different body parts.

    • Optional hasStick: boolean = false

      Indicates whether the man has a stick.

    • Optional hatNumber: number = 1

      Indicates whether the man has a hat and the hat version. 0 is no hat

    Returns Man

Properties

elements: Element[] = []

An array of Elements.

range: Range = ...

Methods