ctor

sfml.graphics.Sprite.ctor
object ctor

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ctor.type

Members list

Value members

Concrete methods

def apply(): ctor

Default constructor.

Default constructor.

Creates an empty sprite with no source texture.

Attributes

def apply(texture: Texture): ctor

Construct the sprite from a source texture.

Construct the sprite from a source texture.

Value parameters

texture

Source texture

Attributes

See also