Poison-ui

A cross-platform desktop/mobile UI engine written in D using dsfml

View project on GitHub

Dub version

poison.ui.sprite

Source

Module for texture sprite handling.

Authors:

  Jacob Jensen

License:

  https://github.com/PoisonEngine/poison-ui/blob/master/LICENSE

public:



public class TextureSprite : Sprite


        public:



An extension class to the sprite implementation of Dsfml.


public this(Texture texture);


Creates a new texture sprite.

Parameters:

textureThe texture of the sprite.

public @property Point position();


Gets the position of the sprite.


public @property void position(Point newPosition);


Sets the position of the sprite.


Generated by venom - Poison Engine's Documentation Generator