ctor

sfml.graphics.View.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.

This constructor creates a default view of (0, 0, 1000, 1000)

Attributes

def apply(center: Vector2[Float], size: Vector2[Float]): ctor

Construct the view from its center and size.

Construct the view from its center and size.

Value parameters

center

Center of the zone to display

size

Size of zone to display

Attributes

def apply(rectangle: Rect[Float]): ctor

Construct the view from a rectangle.

Construct the view from a rectangle.

Value parameters

rectangle

Rectangle defining the zone to display

Attributes