Paint module.

Hierarchy

  • Paint

Constructors

Methods

  • Get the color

    Returns

    color String color in the format #RRGGBB or #RRGGBBAA

    Returns string

  • Set the color

    Parameters

    • color: string

      String color in the format #RRGGBB or #RRGGBBAA

    Returns void

  • Set the stroke width

    Parameters

    • strokeWidth: number

      width in pixels

    Returns void

Generated using TypeDoc