Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RaphaelStaticGetColor

Callable

  • RaphaelStaticGetColor(brightness?: number): string
  • On each call returns next colour in the spectrum. To reset it back to red call Raphael.getColor.reset.

    Parameters

    • Optional brightness: number

    Returns string

    Hex representation of the color.

Index

Methods

Methods

  • reset(): void
  • Resets spectrum position for {@link RaphaelStaticGetColor|Raphael.getColor} back to red.

    Returns void

Generated using TypeDoc