ombra-1.0.0.0: Render engine.
Graphics.Rendering.Ombra.Color
Description
Synopsis
data Color Source #
A RGBA 32-bit color.
Constructors
Instances
Methods
(==) :: Color -> Color -> Bool #
(/=) :: Color -> Color -> Bool #
showsPrec :: Int -> Color -> ShowS #
show :: Color -> String #
showList :: [Color] -> ShowS #
sizeOf :: Color -> Int #
alignment :: Color -> Int #
peekElemOff :: Ptr Color -> Int -> IO Color #
pokeElemOff :: Ptr Color -> Int -> Color -> IO () #
peekByteOff :: Ptr b -> Int -> IO Color #
pokeByteOff :: Ptr b -> Int -> Color -> IO () #
peek :: Ptr Color -> IO Color #
poke :: Ptr Color -> Color -> IO () #
hashWithSalt :: Int -> Color -> Int #
hash :: Color -> Int #
visible :: Word8 -> Word8 -> Word8 -> Color Source #
Create a Color with alpha set to 255.
Color
white :: Color Source #
black :: Color Source #
transparent :: Color Source #
red :: Color Source #
green :: Color Source #
blue :: Color Source #
yellow :: Color Source #