Generates a bark-like structure.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Constructor for the BarkGenerator class.

    Parameters

    • xOffset: number

      X-coordinate of the bark.

    • yOffset: number

      Y-coordinate of the bark.

    • strokeWidth: number

      Width of the bark.

    • angle: number

      Angle of the bark.

    Returns Bark

Properties

elements: Element[] = []

An array of Elements.

range: Range = ...

Methods