reanimate-1.1.3.0: Animation library based on SVGs.
Safe HaskellNone
LanguageHaskell2010

Reanimate.Constants

Description

Reanimate configures a consistent, default canvas. The values of this default can be observed via the constants in this module. Keep in mind, these values describe the default canvas and will not apply to custom viewports.

Synopsis

Documentation

screenWidth :: Fractional a => a Source #

Number of units from the left-most point to the right-most point on the screen.

screenHeight :: Fractional a => a Source #

Number of units from the bottom to the top of the screen.

screenTop :: Fractional a => a Source #

Position of the top of the screen.

screenBottom :: Fractional a => a Source #

Position of the bottom of the screen.

screenLeft :: Fractional a => a Source #

Position of the left side of the screen.

screenRight :: Fractional a => a Source #

Position of the right side of the screen.

defaultDPI :: Dpi Source #

SVG allows measurements in inches which have to be converted to local units. This value describes how many local units there are in an inch.

defaultStrokeWidth :: Double Source #

Default thickness of lines.