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 Source

Credentials that take and key and secret token.

Constructors

Credentials 

data Handwriting Source

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

Instances

Show Handwriting Source

Pretty print the handwriting data type.

Generic Handwriting Source 
ToJSON Handwriting Source 
FromJSON Handwriting Source

Handwriting JSON instance.

type Rep Handwriting Source 

data ImageParams Source

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

type Color = (Word8, Word8, Word8) Source

Color type representing (R,G,B).

data Format Source

Format determines rendered image format in either png or pdf.

Constructors

PNG 
PDF 

Instances

data PDFUnits Source

PDFUnits is used to specify measurements when rendering a PDF.

Constructors

Points 
Inches 

Instances

data RandomSeed Source

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 Source

Default image parameters provided for convenience.