gelatin-0.1.0.1: A graphics description language.

Safe HaskellSafe
LanguageHaskell2010

Gelatin.Core.Stroke

Description

Strokes are used for defining lines and drawing them.

Documentation

data LineCap Source #

Instances

Enum LineCap Source # 
Eq LineCap Source # 

Methods

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

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

Ord LineCap Source # 
Show LineCap Source # 
Generic LineCap Source # 

Associated Types

type Rep LineCap :: * -> * #

Methods

from :: LineCap -> Rep LineCap x #

to :: Rep LineCap x -> LineCap #

type Rep LineCap Source # 
type Rep LineCap = D1 (MetaData "LineCap" "Gelatin.Core.Stroke" "gelatin-0.1.0.1-3WUx3ZK82kqBNRoD7t3XEY" False) ((:+:) ((:+:) (C1 (MetaCons "LineCapNone" PrefixI False) U1) ((:+:) (C1 (MetaCons "LineCapButt" PrefixI False) U1) (C1 (MetaCons "LineCapSquare" PrefixI False) U1))) ((:+:) (C1 (MetaCons "LineCapRound" PrefixI False) U1) ((:+:) (C1 (MetaCons "LineCapTriOut" PrefixI False) U1) (C1 (MetaCons "LineCapTriIn" PrefixI False) U1))))

data Stroke Source #

Instances

Eq Stroke Source # 

Methods

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

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

Show Stroke Source # 
Generic Stroke Source # 

Associated Types

type Rep Stroke :: * -> * #

Methods

from :: Stroke -> Rep Stroke x #

to :: Rep Stroke x -> Stroke #

type Rep Stroke Source # 
type Rep Stroke = D1 (MetaData "Stroke" "Gelatin.Core.Stroke" "gelatin-0.1.0.1-3WUx3ZK82kqBNRoD7t3XEY" False) (C1 (MetaCons "Stroke" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "strokeWidth") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Float)) ((:*:) (S1 (MetaSel (Just Symbol "strokeFeather") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Float)) (S1 (MetaSel (Just Symbol "strokeLineCaps") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (LineCap, LineCap))))))