PenParameters Class
Parameters used for both input and output canvas draw.
Constructor
PenParameters
()
Item Index
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:
-
colorString
setDecoration
(
-
decoration
Set the decoration renderer parameter
Parameters:
-
decorationString
setFont
(
-
font
Set the font renderer parameter
Parameters:
-
fontString
setRectColor
(
-
rectColor
Set the rect renderer parameter
Parameters:
-
rectColorString
setWidth
(
-
width
Set the width renderer parameter
Parameters:
-
widthNumber
