handwriting-0.1.0.3: API Client for the handwriting.io API.

Copyright(C) 2016 Ismail Mustafa
LicenseBSD-style (see the file LICENSE)
MaintainerIsmail Mustafa <ismailmustafa@rocketmail.com
Stabilityprovisional
PortabilityOverloadedStrings
Safe HaskellNone
LanguageHaskell2010

Network.Internal.Model

Description

Model definitions for the API wrapper.

Synopsis

Documentation

data Credentials #

Credentials that take and key and secret token.

Constructors

Credentials 

data Handwriting #

Handwriting data type that contains all the information about a specific handwriting style.

Instances

Show Handwriting #

Pretty print the handwriting data type.

Generic Handwriting # 

Associated Types

type Rep Handwriting :: * -> * #

ToJSON Handwriting # 
FromJSON Handwriting #

Handwriting JSON instance.

type Rep Handwriting # 

data ImageParams #

Optional image parameters that dictate different properties of the rendered image.

type Color = (Word8, Word8, Word8) #

Color type representing (R,G,B).

data Format #

Format determines rendered image format in either png or pdf.

Constructors

PNG 
PDF 

Instances

data PDFUnits #

PDFUnits is used to specify measurements when rendering a PDF.

Constructors

Points 
Inches 

Instances

data RandomSeed #

RandomSeed is used to specify if every rendered image called with the same parameters should render differently or the same each time.

Constructors

Randomize 
Repeatable 

defaultImageParams :: ImageParams #

Default image parameters provided for convenience.