hgeometry-ipe-0.9.0.0: Reading and Writing ipe7 files.

Copyright(C) Frank Staals
Licensesee the LICENSE file
MaintainerFrank Staals
Safe HaskellNone
LanguageHaskell2010

Data.Geometry.Ipe.Color

Contents

Description

Data type for representing colors in ipe as well as the colors available in the standard ipe stylesheet.

Synopsis

Documentation

newtype IpeColor r Source #

Constructors

IpeColor (IpeValue (RGB r)) 
Instances
Eq r => Eq (IpeColor r) Source # 
Instance details

Defined in Data.Geometry.Ipe.Color

Methods

(==) :: IpeColor r -> IpeColor r -> Bool #

(/=) :: IpeColor r -> IpeColor r -> Bool #

Ord r => Ord (IpeColor r) Source # 
Instance details

Defined in Data.Geometry.Ipe.Color

Methods

compare :: IpeColor r -> IpeColor r -> Ordering #

(<) :: IpeColor r -> IpeColor r -> Bool #

(<=) :: IpeColor r -> IpeColor r -> Bool #

(>) :: IpeColor r -> IpeColor r -> Bool #

(>=) :: IpeColor r -> IpeColor r -> Bool #

max :: IpeColor r -> IpeColor r -> IpeColor r #

min :: IpeColor r -> IpeColor r -> IpeColor r #

Read r => Read (IpeColor r) Source # 
Instance details

Defined in Data.Geometry.Ipe.Color

Show r => Show (IpeColor r) Source # 
Instance details

Defined in Data.Geometry.Ipe.Color

Methods

showsPrec :: Int -> IpeColor r -> ShowS #

show :: IpeColor r -> String #

showList :: [IpeColor r] -> ShowS #

Coordinate r => IpeReadText (IpeColor r) Source # 
Instance details

Defined in Data.Geometry.Ipe.Reader

IpeWriteText r => IpeWriteText (IpeColor r) Source # 
Instance details

Defined in Data.Geometry.Ipe.Writer

named :: Text -> IpeColor r Source #

Creates a named color

Basic Named colors