10.1.6. GraphicStyle¶
Module to define graphic styles like colours and stroke styles.
This module import Color.Colors
.
-
class
Patro.GraphicStyle.
CapStyle
[source]¶ Bases:
enum.Enum
Enum class to define cap styles
-
FlatCap
= 1¶ a square line end that does not cover the end point of the line
-
RoundCap
= 3¶ a rounded line end.
-
SquareCap
= 2¶ a square line end that covers the end point and extends beyond it by half the line width
-
-
class
Patro.GraphicStyle.
JoinStyle
[source]¶ Bases:
enum.Enum
Enum class to define join styles
-
BevelJoin
= 2¶ The triangular notch between the two lines is filled.
-
MiterJoin
= 1¶
-
RoundJoin
= 3¶ A circular arc between the two lines is filled.
-
SvgMiterJoin
= 4¶ A miter join corresponding to the definition of a miter join in the SVG 1.2 Tiny specification.
-