Scratch for Java

Text::setStrokeColor()

Sets the stroke color using the specified RGB values.

Syntax

Java

.setStrokeColor(r, g, b)
.setStrokeColor(h)
.setStrokeColor(c)

Parameters

Name Data Type Description
r int the red component of the color (0-255)
g int the green component of the color (0-255)
b int the blue component of the color (0-255)
h double the hue value for the stroke color
c Color the color to set as the stroke color

Return

void

setStrokeColor()