RectangleShape

sfml.graphics.RectangleShape
See theRectangleShape companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object ctor

Attributes

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

Types

opaque type ctor

Value members

Concrete methods

def apply(size: Immutable[Vector2[Float]] = ...): RectangleShape

Default constructor.

Default constructor.

Value parameters

size

Size of the rectangle

Attributes

Extensions

Extensions

extension (self: Immutable[RectangleShape])
def geometricCenter(): Vector2[Float]
def point(index: Long): Vector2[Float]
def pointCount: Long
def size: Vector2[Float]