*******
sge.gfx
*******

.. This file has been dedicated to the public domain, to the extent
   possible under applicable law, via CC0. See
   http://creativecommons.org/publicdomain/zero/1.0/ for more
   information. This file is offered as-is, without any warranty.

.. contents::

.. automodule:: sge.gfx

sge.gfx Classes
===============

sge.gfx.Color
-------------

.. autoclass:: sge.gfx.Color

sge.gfx.Sprite
--------------

.. autoclass:: sge.gfx.Sprite

sge.gfx.Sprite Methods
~~~~~~~~~~~~~~~~~~~~~~

.. automethod:: sge.gfx.Sprite.__init__

.. automethod:: sge.gfx.Sprite.append_frame

.. automethod:: sge.gfx.Sprite.insert_frame

.. automethod:: sge.gfx.Sprite.extend

.. automethod:: sge.gfx.Sprite.delete_frame

.. automethod:: sge.gfx.Sprite.get_pixel

.. automethod:: sge.gfx.Sprite.get_pixels

.. automethod:: sge.gfx.Sprite.draw_dot

.. automethod:: sge.gfx.Sprite.draw_line

.. automethod:: sge.gfx.Sprite.draw_rectangle

.. automethod:: sge.gfx.Sprite.draw_ellipse

.. automethod:: sge.gfx.Sprite.draw_circle

.. automethod:: sge.gfx.Sprite.draw_polygon

.. automethod:: sge.gfx.Sprite.draw_sprite

.. automethod:: sge.gfx.Sprite.draw_text

.. automethod:: sge.gfx.Sprite.draw_erase

.. automethod:: sge.gfx.Sprite.draw_clear

.. automethod:: sge.gfx.Sprite.draw_lock

.. automethod:: sge.gfx.Sprite.draw_unlock

.. automethod:: sge.gfx.Sprite.mirror

.. automethod:: sge.gfx.Sprite.flip

.. automethod:: sge.gfx.Sprite.resize_canvas

.. automethod:: sge.gfx.Sprite.scale

.. automethod:: sge.gfx.Sprite.rotate

.. automethod:: sge.gfx.Sprite.swap_color

.. automethod:: sge.gfx.Sprite.copy

.. automethod:: sge.gfx.Sprite.save

.. automethod:: sge.gfx.Sprite.from_tween

.. automethod:: sge.gfx.Sprite.from_text

.. automethod:: sge.gfx.Sprite.from_tileset

.. automethod:: sge.gfx.Sprite.from_screenshot

sge.gfx.Font
------------

.. autoclass:: sge.gfx.Font

sge.gfx.Font Methods
~~~~~~~~~~~~~~~~~~~~

.. automethod:: sge.gfx.Font.__init__

.. automethod:: sge.gfx.Font.get_width

.. automethod:: sge.gfx.Font.get_height

.. automethod:: sge.gfx.Font.from_sprite

sge.gfx.BackgroundLayer
-----------------------

.. autoclass:: sge.gfx.BackgroundLayer

sge.gfx.BackgroundLayer Methods
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. automethod:: sge.gfx.BackgroundLayer.__init__

sge.gfx.Background
------------------

.. autoclass:: sge.gfx.Background

sge.gfx.Background Methods
~~~~~~~~~~~~~~~~~~~~~~~~~~

.. automethod:: sge.gfx.Background.__init__

