wx.GraphicsObject¶
This class is the superclass of native graphics objects like pens etc.
It allows reference counting. Not instantiated by user code.
Class Hierarchy¶
Known Subclasses¶
wx.GraphicsBitmap, wx.GraphicsBrush, wx.GraphicsContext, wx.GraphicsFont, wx.GraphicsMatrix, wx.GraphicsPath, wx.GraphicsPen
Methods Summary¶
Returns the renderer that was used to create this instance, or |
|
Properties Summary¶
See |
Class API¶
- class wx.GraphicsObject(Object)¶
This class is the superclass of native graphics objects like pens etc.
Methods¶
- GetRenderer(self)¶
Returns the renderer that was used to create this instance, or
None
if it has not been initialized yet.- Return type:
- IsNull(self)¶
- Return type:
bool
- Returns:
False
if this object is valid, otherwise returnsTrue
.
- IsOk(self)¶
- Return type:
bool
- __bool__(self)¶
- Return type:
bool
- __nonzero__(self)¶
- Return type:
bool
Properties¶
- Renderer¶
See
GetRenderer