The function sets the pen’s color to the given color – (R, G, B).
Table of Contents
setcolor()
Function Definition: setcolor(color = [0, 0 , 0])
- Python Library: Pen
- Library Import: pen = Pen()
- Mode: Stage Mode
Parameters
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
color | list | The color list with following values R - 0-255 G - 0-255 B - 0-255 | [R, G, B] | [0, 0 , 0] |
Description
Example
There are no examples documented for this article.