Skip to main content

changeColorAll

Sets the fill, stroke, or text color of all markup objects.

Syntax

RxCore.changeColorAll(val, strokefill)

Parameters

  • val: string — A color specified using HTML color notation (e.g., "#FF0000").
  • strokefill: number — Determines what to color: 0 for fill color, 1 for line color, and 2 for text color.

Returns

  • NA — This method does not return a value.