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.
- Scratch Based Default Extensions
- Artificial Intelligence
- Innovative Extensions
- Machine Learning Environment
- Quarky
- Quarky Intellio I2C Communication
- Quarky Advance Sensors Extension
- Quarky Connect
- Display (Quarky)
- Quarky (Main)
- Robot (Quarky)
- Sensors (Quarky)
- Speaker (Quarky)
- Quarky Ultimate Robots
- Quarky Expansion Board
- Mars Rover
- Humanoid (Quarky)
- Quadruped (Quarky)
- IoT House (Quarky)
- Quarky Mecanum
- Quarky Robotic Arm
- Dabble
- Quarky Advance Line Following
