eschneiderSA / pyglet

Automatically exported from code.google.com/p/pyglet
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

pyglet.text.Label should have a "position" property to match pyglet.sprite.Sprite #701

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Pyglet classes that have x,y properties and a draw() method should have similar 
properties. The pyglet.sprite.Sprite class has a "position" property that moves 
the sprite on the screen but pyglet.text.Label does not.  

Since this works:
sprite.position  = (50, 50)
sprite.draw()

This should also work:
label.position = (50,50)
label.draw()

Original issue reported on code.google.com by dodgyvi...@gmail.com on 18 Feb 2014 at 4:51

GoogleCodeExporter commented 8 years ago

Original comment by useboxnet on 21 May 2014 at 6:00