10.1.5.1.3. GraphicStyle¶
Module to implement graphic styles.
-
class
Patro.GraphicEngine.GraphicScene.GraphicStyle.
Font
(family, point_size)[source]¶ Bases:
object
Class to define font style
-
class
Patro.GraphicEngine.GraphicScene.GraphicStyle.
GraphicBezierStyle
(**kwargs)[source]¶ Bases:
Patro.GraphicEngine.GraphicScene.GraphicStyle.GraphicPathStyle
Class to define Bézier curve style
-
__init__
(**kwargs)[source]¶ color can be a defined color name, a ‘#rrggbb’ string or a
Color
instance.
-
control_color
¶
-
show_control
¶
-
-
class
Patro.GraphicEngine.GraphicScene.GraphicStyle.
GraphicPathStyle
(**kwargs)[source]¶ Bases:
object
Class to define path style
color can be a defined color name, a ‘#rrggbb’ string or a
Color
instance.-
__init__
(**kwargs)[source]¶ color can be a defined color name, a ‘#rrggbb’ string or a
Color
instance.
-
cap_style
¶
-
fill_alpha
¶
-
fill_color
¶
-
join_style
¶
-
line_width
¶
-
line_width_as_float
¶
-
stroke_alpha
¶
-
stroke_color
¶
-
stroke_style
¶
-