SolidPaintMake
Type
operator
Summary
Creates a new solid color paint.
Syntax
solid paint with <mColor>
Description
Creates a new solid color paint.
Parameters
| Name | Type | Description |
|---|---|---|
mColor | An expression which evaluates to a color. |
Examples
// Create a new green paint
variable tPaint
put solid paint with color [0,1,0] into tPaint
Value
| Name | Type | Description |
|---|---|---|
return | A new paint using mColor. |