funcmp-1.9: Functional MetaPost is a Haskell frontend to the MetaPost language

Copyright(c) 2003-2010 Peter Simons
(c) 2002-2003 Ferenc Wágner
(c) 2002-2003 Meik Hellmund
(c) 1998-2002 Ralf Hinze
(c) 1998-2002 Joachim Korittky
(c) 1998-2002 Marco Kuhlmann
LicenseGPLv3
Maintainersimons@cryp.to
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

FMP.Color

Description

 

Documentation

data Color #

Instances
Eq Color # 
Instance details

Defined in FMP.Color

Methods

(==) :: Color -> Color -> Bool #

(/=) :: Color -> Color -> Bool #

Fractional Color # 
Instance details

Defined in FMP.Color

Num Color # 
Instance details

Defined in FMP.Color

Read Color # 
Instance details

Defined in FMP.Color

Show Color # 
Instance details

Defined in FMP.Color

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

HasDefault Color # 
Instance details

Defined in FMP.Picture

Methods

default' :: Color #

class HasColor a where #

Methods

setColor :: Color -> a -> a #

setDefaultColor :: a -> a #

getColor :: a -> Color #

Instances
HasColor Frame # 
Instance details

Defined in FMP.Picture

HasColor Area # 
Instance details

Defined in FMP.Picture

HasColor Path # 
Instance details

Defined in FMP.Picture

HasColor PathElemDescr # 
Instance details

Defined in FMP.Picture

HasColor FrameAttrib # 
Instance details

Defined in FMP.Picture

HasColor Picture # 
Instance details

Defined in FMP.Picture

HasColor Edge # 
Instance details

Defined in FMP.Tree

HasColor Tree # 
Instance details

Defined in FMP.Tree

HasColor Turtle # 
Instance details

Defined in FMP.Turtle

class HasBGColor a where #

Methods

setBGColor :: Color -> a -> a #

setDefaultBGColor :: a -> a #

getBGColor :: a -> Color #