enable.savage.svg.backends.null.null_renderer module¶
-
class
enable.savage.svg.backends.null.null_renderer.
AbstractGradientBrush
[source]¶ Bases:
object
Abstract base class for gradient brushes so they can be detected easily.
-
class
enable.savage.svg.backends.null.null_renderer.
NullRenderer
[source]¶ Bases:
object
-
classmethod
DrawText
(gc, text, x, y, brush, anchor='start')[source]¶ Draw text at the given x,y position with the color of the given brush.
-
NullBrush
= None¶
-
NullGraphicsBrush
= None¶
-
NullPen
= None¶
-
TransparentPen
= None¶
-
caps
= {'butt': None, 'round': None, 'square': None}¶
-
classmethod
createLinearGradientBrush
(x1, y1, x2, y2, stops, spreadMethod='pad', transforms=None, units='userSpaceOnUse')[source]¶
-
classmethod
createRadialGradientBrush
(cx, cy, r, stops, fx=None, fy=None, spreadMethod='pad', transforms=None, units='userSpaceOnUse')[source]¶
-
fill_rules
= {'evenodd': None, 'nonzero': None}¶
-
joins
= {'bevel': None, 'miter': None, 'round': None}¶
-
classmethod