25 ConstantThicknessShader___doc__,
26 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ConstantThicknessShader`\n"
28 "[Thickness shader]\n"
30 ".. method:: __init__(thickness)\n"
32 " Builds a ConstantThicknessShader object.\n"
34 " :arg thickness: The thickness that must be assigned to the stroke.\n"
35 " :type thickness: float\n"
37 ".. method:: shade(stroke)\n"
39 " Assigns an absolute constant thickness to every vertex of the Stroke.\n"
41 " :arg stroke: A Stroke object.\n"
42 " :type stroke: :class:`freestyle.types.Stroke`\n");
48 static const char *kwlist[] = {
"thickness",
nullptr};
51 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"f", (
char **)kwlist, &f)) {
61 PyVarObject_HEAD_INIT(
nullptr, 0)
62 "ConstantThicknessShader",
80 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
81 ConstantThicknessShader___doc__,
PyTypeObject ConstantThicknessShader_Type
PyDoc_STRVAR(ConstantThicknessShader___doc__, "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ConstantThicknessShader`\n" "\n" "[Thickness shader]\n" "\n" ".. method:: __init__(thickness)\n" "\n" " Builds a ConstantThicknessShader object.\n" "\n" " :arg thickness: The thickness that must be assigned to the stroke.\n" " :type thickness: float\n" "\n" ".. method:: shade(stroke)\n" "\n" " Assigns an absolute constant thickness to every vertex of the Stroke.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`freestyle.types.Stroke`\n")
static int ConstantThicknessShader___init__(BPy_ConstantThicknessShader *self, PyObject *args, PyObject *kwds)
PyTypeObject StrokeShader_Type
Class gathering basic stroke shaders.