Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
BaseShape Primitive ShapeColor (Maybe Rotation) | |
CompositeShape [Shape] (Maybe Translation) (Maybe Rotation) | Should contain atleast 1 shape |
Rectangle | Translation is upperleftcorner |
Circle | Translation is center |
| |
Polygon | Translation is center |
Text | Translation is center, does not have a boundingbox due to technical limitations |
| |
Line | |
MultiLine | |
data BoundingBox Source