Sprite2D

from acron.sprite2d import Sprite2D
class Sprite2D(parent, texture_path, centered=True, offset=(0, 0), res=None)

Bases: object

A single-texture card. np is the handle to place on the canvas.

Inheritance diagram

digraph inheritance2a92ed52df { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "Sprite2D" [URL="acron.sprite2d.Sprite2D.html#acron.sprite2d.Sprite2D",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="A single-texture card. ``np`` is the handle to place on the canvas."]; }