SFML-2.3.2.1: SFML bindings

Safe HaskellSafe-Inferred
LanguageHaskell98

SFML.Graphics.PrimitiveType

Synopsis

Documentation

data PrimitiveType Source

Types of primitives that a sf::VertexArray can render.

Points and lines have no area, therefore their thickness will always be 1 pixel, regardless of the current transform and view.

Constructors

Points

List of individual points

Lines

List of individual lines

LineStrip

List of connected lines, a point uses the previous point to form a line

Triangles

List of individual triangles

TriangleStrip

List of connected triangles, a point uses the two previous points to form a triangle

TriangleFan

List of connected triangles, a point uses the common center and the previous point to form a triangle

Quads

List of individual quads