21 ConstantThicknessShader___doc__,
22 "Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ConstantThicknessShader`\n"
24 "[Thickness shader]\n"
26 ".. method:: __init__(thickness)\n"
28 " Builds a ConstantThicknessShader object.\n"
30 " :arg thickness: The thickness that must be assigned to the stroke.\n"
31 " :type thickness: float\n"
33 ".. method:: shade(stroke)\n"
35 " Assigns an absolute constant thickness to every vertex of the Stroke.\n"
37 " :arg stroke: A Stroke object.\n"
38 " :type stroke: :class:`freestyle.types.Stroke`\n");
43 static const char *kwlist[] = {
"thickness",
nullptr};
46 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"f", (
char **)kwlist, &f)) {
56 PyVarObject_HEAD_INIT(
nullptr, 0)
57 "ConstantThicknessShader",
75 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
76 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.