Safe Haskell | None |
---|---|
Language | Haskell2010 |
Eventloop.Module.BasicShapes
Documentation
type GraphicalNumeric = Float Source
type Translation = Point Source
type Width = GraphicalNumeric Source
type Height = GraphicalNumeric Source
type Dimensions = (Width, Height) Source
type Radius = GraphicalNumeric Source
type Red = GraphicalNumeric Source
type Green = GraphicalNumeric Source
type Blue = GraphicalNumeric Source
type Alpha = GraphicalNumeric Source
type StrokeColor = Color Source
type ShapeColor = (StrokeColor, FillColor) Source
type UpperRight = Point Source
type LowerRight = Point Source
type AmountOfPoints = Int Source
type FontFamily = [Char] Source
type FontSize = GraphicalNumeric Source
Constructors
BaseShape Primitive ShapeColor (Maybe Rotation) | |
CompositeShape [Shape] (Maybe Translation) (Maybe Rotation) | Should contain atleast 1 shape |
Constructors
Rectangle | Translation is upperleftcorner |
Fields | |
Circle | Translation is center |
Fields
| |
Polygon | Translation is center |
Fields | |
Text | Translation is center, does not have a boundingbox due to technical limitations |
Fields
| |
Line | |
MultiLine | |