Name

Structures —

Synopsis

data
        Color
type
        Point
data
        Rectangle

Datatypes

data Color

Color

data Color =Color (Word16)(Word16)(Word16)

Specifies a color with three integer values for red, green and blue. All values range from 0 (least intense) to 65535 (highest intensity). Color

Specifies a color with three integer values for red, green and blue. All values range from 0 (least intense) to 65535 (highest intensity).

type Point

Point(Int,Int)

Represents the x and y coordinate of a point.

data Rectangle

Rectangle

data Rectangle =Rectangle IntIntIntInt

for Events

Specifies x, y, width and height Rectangle

for Events

Specifies x, y, width and height