Go to the source code of this file.
|
| | PyDoc_STRVAR (ConstantColorShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ConstantColorShader`\n" "\n" "[Color shader]\n" "\n" ".. method:: __init__(red, green, blue, alpha=1.0)\n" "\n" " Builds a ConstantColorShader object.\n" "\n" " :arg red: The red component.\n" " :type red: float\n" " :arg green: The green component.\n" " :type green: float\n" " :arg blue: The blue component.\n" " :type blue: float\n" " :arg alpha: The alpha value.\n" " :type alpha: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Assigns a constant color to every vertex of the Stroke.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n") |
| |
| static int | ConstantColorShader___init__ (BPy_ConstantColorShader *self, PyObject *args, PyObject *kwds) |
| |
◆ ConstantColorShader___init__()
◆ PyDoc_STRVAR()
| PyDoc_STRVAR |
( |
ConstantColorShader___doc__ | , |
|
|
"Class hierarchy: :class:`freestyle.types.StrokeShader` | , |
|
|
:class:`ConstantColorShader`\n" "\n" "\n" "\n" ".. method::__init__(red, green, blue, alpha=1.0)\n" "\n" " Builds a ConstantColorShader object.\n" "\n" " :arg red:The red component.\n" " :type red:float\n" " :arg green:The green component.\n" " :type green:float\n" " :arg blue:The blue component.\n" " :type blue:float\n" " :arg alpha:The alpha value.\n" " :type alpha:float\n" "\n" ".. method::shade(stroke)\n" "\n" " Assigns a constant color to every vertex of the Stroke.\n" "\n" " :arg stroke:A Stroke object.\n" " :type stroke::class:`freestyle.types.Stroke`\n" | [Color shader] ) |
◆ ConstantColorShader_Type
| PyTypeObject ConstantColorShader_Type |