21 IncreasingThicknessShader___doc__,
22 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`IncreasingThicknessShader`\n"
24 "[Thickness shader]\n"
26 ".. method:: __init__(thickness_A, thickness_B)\n"
28 " Builds an IncreasingThicknessShader object.\n"
30 " :arg thickness_A: The first thickness value.\n"
31 " :type thickness_A: float\n"
32 " :arg thickness_B: The second thickness value.\n"
33 " :type thickness_B: float\n"
35 ".. method:: shade(stroke)\n"
37 " Assigns thicknesses values such as the thickness increases from a\n"
38 " thickness value A to a thickness value B between the first vertex\n"
39 " to the midpoint vertex and then decreases from B to a A between\n"
40 " this midpoint vertex and the last vertex. The thickness is\n"
41 " linearly interpolated from A to B.\n"
43 " :arg stroke: A Stroke object.\n"
44 " :type stroke: :class:`freestyle.types.Stroke`\n");
49 static const char *kwlist[] = {
"thickness_A",
"thickness_B",
nullptr};
52 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"ff", (
char **)kwlist, &f1, &f2)) {
62 PyVarObject_HEAD_INIT(
nullptr, 0)
63 "IncreasingThicknessShader",
81 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
82 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.