API Docs for:
Show:

PenParameters Class

Parameters used for both input and output canvas draw.

Methods

getColor

() String

Get the color renderer parameter

Returns:

String:

The color of the ink

getDecoration

() String

Get the decoration renderer parameter

Returns:

String:

The decoration

getFont

() String

Get the font renderer parameter

Returns:

String:

The font

getRectColor

() String

Get the rect renderer parameter

Returns:

String:

the rectangle color

getWidth

() Number

Get the width renderer parameter

Returns:

Number:

The ink width

setColor

(
  • color
)

Set the color renderer parameter

Parameters:

  • color String

setDecoration

(
  • decoration
)

Set the decoration renderer parameter

Parameters:

  • decoration String

setFont

(
  • font
)

Set the font renderer parameter

Parameters:

  • font String

setRectColor

(
  • rectColor
)

Set the rect renderer parameter

Parameters:

  • rectColor String

setWidth

(
  • width
)

Set the width renderer parameter

Parameters:

  • width Number