phoenix_title 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 Class Hierarchy¶

Inheritance diagram for class GraphicsObject:

sub_classes Known Subclasses¶

wx.GraphicsBitmap, wx.GraphicsBrush, wx.GraphicsContext, wx.GraphicsFont, wx.GraphicsMatrix, wx.GraphicsPath, wx.GraphicsPen


method_summary Methods Summary¶

GetRenderer

Returns the renderer that was used to create this instance, or None if it has not been initialized yet.

IsNull

IsOk

__bool__

__nonzero__


property_summary Properties Summary¶

Renderer

See GetRenderer


api 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:

wx.GraphicsRenderer



IsNull(self)¶
Return type:

bool

Returns:

False if this object is valid, otherwise returns True.



IsOk(self)¶
Return type:

bool



__bool__(self)¶
Return type:

bool



__nonzero__(self)¶
Return type:

bool


Properties¶

Renderer¶

See GetRenderer