gloss-1.1.0.0: Painless 2D vector graphics, animations and simulations.

Graphics.Gloss.Shapes

Description

Functions for drawing shapes that aren't constructors of the Picture data type.

Synopsis

Documentation

lineLoop :: Path -> PictureSource

A closed loop along this path.

rectangleWireSource

Arguments

:: Float

width

-> Float

height

-> Picture 

A wireframe rectangle centered about the origin.

rectangleSolidSource

Arguments

:: Float

width

-> Float

height

-> Picture 

A solid rectangle centered about the origin.

rectanglePathSource

Arguments

:: Float

width

-> Float

height

-> Path 

A path representing a rectangle centered about the origin.

rectangleUpperWireSource

Arguments

:: Float

width

-> Float

height

-> Picture 

A wireframe rectangle in the y > 0 half of the x-y plane.

rectangleUpperSolidSource

Arguments

:: Float

width

-> Float

height

-> Picture 

A sold rectangle in the y > 0 half of the x-y plane.

rectangleUpperPathSource

Arguments

:: Float

width

-> Float

height

-> Path 

A path representing a rectangle in the y > 0 half of the x-y plane.