25 IncreasingThicknessShader___doc__,
26 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`IncreasingThicknessShader`\n"
28 "[Thickness shader]\n"
30 ".. method:: __init__(thickness_A, thickness_B)\n"
32 " Builds an IncreasingThicknessShader object.\n"
34 " :arg thickness_A: The first thickness value.\n"
35 " :type thickness_A: float\n"
36 " :arg thickness_B: The second thickness value.\n"
37 " :type thickness_B: float\n"
39 ".. method:: shade(stroke)\n"
41 " Assigns thicknesses values such as the thickness increases from a\n"
42 " thickness value A to a thickness value B between the first vertex\n"
43 " to the midpoint vertex and then decreases from B to a A between\n"
44 " this midpoint vertex and the last vertex. The thickness is\n"
45 " linearly interpolated from A to B.\n"
47 " :arg stroke: A Stroke object.\n"
48 " :type stroke: :class:`freestyle.types.Stroke`\n");
54 static const char *kwlist[] = {
"thickness_A",
"thickness_B",
nullptr};
57 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"ff", (
char **)kwlist, &f1, &f2)) {
67 PyVarObject_HEAD_INIT(
nullptr, 0)
68 "IncreasingThicknessShader",
86 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
87 IncreasingThicknessShader___doc__,
PyDoc_STRVAR(IncreasingThicknessShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`IncreasingThicknessShader`\n" "\n" "[Thickness shader]\n" "\n" ".. method:: __init__(thickness_A, thickness_B)\n" "\n" " Builds an IncreasingThicknessShader object.\n" "\n" " :arg thickness_A: The first thickness value.\n" " :type thickness_A: float\n" " :arg thickness_B: The second thickness value.\n" " :type thickness_B: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Assigns thicknesses values such as the thickness increases from a\n" " thickness value A to a thickness value B between the first vertex\n" " to the midpoint vertex and then decreases from B to a A between\n" " this midpoint vertex and the last vertex. The thickness is\n" " linearly interpolated from A to B.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
PyTypeObject IncreasingThicknessShader_Type
static int IncreasingThicknessShader___init__(BPy_IncreasingThicknessShader *self, PyObject *args, PyObject *kwds)
PyTypeObject StrokeShader_Type
Class gathering basic stroke shaders.