21 IncreasingColorShader___doc__,
22 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`IncreasingColorShader`\n"
26 ".. method:: __init__(red_min, green_min, blue_min, alpha_min, red_max, green_max, blue_max, "
29 " Builds an IncreasingColorShader object.\n"
31 " :param red_min: The first color red component.\n"
32 " :type red_min: float\n"
33 " :param green_min: The first color green component.\n"
34 " :type green_min: float\n"
35 " :param blue_min: The first color blue component.\n"
36 " :type blue_min: float\n"
37 " :param alpha_min: The first color alpha value.\n"
38 " :type alpha_min: float\n"
39 " :param red_max: The second color red component.\n"
40 " :type red_max: float\n"
41 " :param green_max: The second color green component.\n"
42 " :type green_max: float\n"
43 " :param blue_max: The second color blue component.\n"
44 " :type blue_max: float\n"
45 " :param alpha_max: The second color alpha value.\n"
46 " :type alpha_max: float\n"
48 ".. method:: shade(stroke)\n"
50 " Assigns a varying color to the stroke. The user specifies two\n"
51 " colors A and B. The stroke color will change linearly from A to B\n"
52 " between the first and the last vertex.\n"
54 " :param stroke: A Stroke object.\n"
55 " :type stroke: :class:`freestyle.types.Stroke`\n");
60 static const char *kwlist[] = {
71 float f1, f2, f3, f4, f5, f6, f7, f8;
73 if (!PyArg_ParseTupleAndKeywords(args,
103 PyVarObject_HEAD_INIT(
nullptr, 0)
104 "IncreasingColorShader",
122 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
123 IncreasingColorShader___doc__,
PyDoc_STRVAR(FalseBP1D___doc__, "Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`FalseBP1D`\n" "\n" ".. method:: __call__(inter1, inter2)\n" "\n" " Always returns false.\n" "\n" " :param inter1: The first Interface1D object.\n" " :type inter1: :class:`freestyle.types.Interface1D`\n" " :param inter2: The second Interface1D object.\n" " :type inter2: :class:`freestyle.types.Interface1D`\n" " :return: False.\n" " :rtype: bool\n")
PyTypeObject IncreasingColorShader_Type
static int IncreasingColorShader___init__(BPy_IncreasingColorShader *self, PyObject *args, PyObject *kwds)
PyTypeObject StrokeShader_Type
Class gathering basic stroke shaders.
PyObject_HEAD Freestyle::StrokeShader * ss