.. A7 Graphics Rectangle class

.. _grectangle-label:

Class GRectangle
================
This class represents a solid rectangle to draw on the screen. It is a subclass of 
:ref:`GObject <gobject-label>`, and inherits all of its attributes and methods.

Constructor
-----------
.. autoclass:: game2d.grectangle.GRectangle

Attributes
----------
This class has all of the attributes of  :ref:`GObject <gobject-label>`.  In addition,
it has the following new attributes.

.. currentmodule:: game2d.grectangle
.. autoattribute:: GRectangle.linewidth

Methods
-------

This class does not have any methods beyond those defined in :ref:`GObject <gobject-label>`.