.. include:: headings.inc .. _GraphicsObject: ========================================================================================================================================== |phoenix_title| **GraphicsObject** ========================================================================================================================================== This class is the superclass of native graphics objects like pens etc. It allows reference counting. Not instantiated by user code. .. seealso:: :ref:`GraphicsBrush`, :ref:`GraphicsPen`, :ref:`GraphicsMatrix`, :ref:`GraphicsPath` | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **GraphicsObject** .. raw:: html

Inheritance diagram of GraphicsObject

| |sub_classes| Known Subclasses ============================== :ref:`GraphicsBitmap`, :ref:`GraphicsBrush`, :ref:`GraphicsContext`, :ref:`GraphicsFont`, :ref:`GraphicsMatrix`, :ref:`GraphicsPath`, :ref:`GraphicsPen` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~GraphicsObject.GetRenderer` Returns the renderer that was used to create this instance, or ``None`` if it has not been initialized yet. :meth:`~GraphicsObject.IsNull` :meth:`~GraphicsObject.IsOk` :meth:`~GraphicsObject.__nonzero__` ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~GraphicsObject.Renderer` See :meth:`~GraphicsObject.GetRenderer` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: GraphicsObject(Object) This class is the superclass of native graphics objects like pens etc. .. method:: GetRenderer(self) Returns the renderer that was used to create this instance, or ``None`` if it has not been initialized yet. :rtype: :ref:`GraphicsRenderer` .. method:: IsNull(self) :rtype: `bool` :returns: ``False`` if this object is valid, otherwise returns ``True``. .. method:: IsOk(self) :rtype: `bool` .. method:: __nonzero__(self) :rtype: `int` .. attribute:: Renderer See :meth:`~GraphicsObject.GetRenderer`