• Generates decorative elements based on the specified style.

    Parameters

    • style: number

      The style of decoration to generate.

    • Optional upperLeftPoint: Point = ...

      The upper-left point of the bounding box.

    • Optional upperRightPoint: Point = ...

      The upper-right point of the bounding box.

    • Optional bottomLeftPoint: Point = ...

      The lower-left point of the bounding box.

    • Optional bottomRightPoint: Point = ...

      The lower-right point of the bounding box.

    • Optional horizontalSubPoints: number = 3

      The horizontal sub points number.

    • Optional verticalSubPoints: number = 2

      The vertical sub points number.

    Returns Point[][]

    An array of points representing the decorative elements.