moffy-samples-events-0.2.2.5: Events for sample codes of moffy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Moffy.Samples.Viewable.Shape

Documentation

data Line Source #

Instances

Instances details
Show Line Source # 
Instance details

Defined in Control.Moffy.Samples.Viewable.Shape

Methods

showsPrec :: Int -> Line -> ShowS #

show :: Line -> String #

showList :: [Line] -> ShowS #

Numbered Line Source # 
Instance details

Defined in Control.Moffy.Samples.Viewable.Shape

Associated Types

type Number Line = (r :: Nat)

type Number Line Source # 
Instance details

Defined in Control.Moffy.Samples.Viewable.Shape

type Number Line = 4967259585233995405

data Box Source #

Constructors

Box Rect BColor 

Instances

Instances details
Show Box Source # 
Instance details

Defined in Control.Moffy.Samples.Viewable.Shape

Methods

showsPrec :: Int -> Box -> ShowS #

show :: Box -> String #

showList :: [Box] -> ShowS #

Numbered Box Source # 
Instance details

Defined in Control.Moffy.Samples.Viewable.Shape

Associated Types

type Number Box = (r :: Nat)

type Number Box Source # 
Instance details

Defined in Control.Moffy.Samples.Viewable.Shape

type Number Box = 16946324245621926452

data Rect Source #

Constructors

Rect 

Instances

Instances details
Show Rect Source # 
Instance details

Defined in Control.Moffy.Samples.Viewable.Shape

Methods

showsPrec :: Int -> Rect -> ShowS #

show :: Rect -> String #

showList :: [Rect] -> ShowS #

data BColor Source #

Constructors

Red 
Green 
Blue 
Yellow 
Cyan 
Magenta 

Instances

Instances details
Enum BColor Source # 
Instance details

Defined in Control.Moffy.Samples.Viewable.Shape

Show BColor Source # 
Instance details

Defined in Control.Moffy.Samples.Viewable.Shape

data FillPolygon Source #

Constructors

FillPolygon Color [Position] 

Instances

Instances details
Show FillPolygon Source # 
Instance details

Defined in Control.Moffy.Samples.Viewable.Shape

Numbered FillPolygon Source # 
Instance details

Defined in Control.Moffy.Samples.Viewable.Shape

Associated Types

type Number FillPolygon = (r :: Nat)

type Number FillPolygon Source # 
Instance details

Defined in Control.Moffy.Samples.Viewable.Shape

type Number FillPolygon = 17622671945029529150