Module

RoughNotation.Config

Package
purescript-rough-notation
Repository
MitchStevens/purescript-rough-notation

#BracketType Source

#ConfigRows Source

type ConfigRows :: Row Typetype ConfigRows = (animate :: Boolean, animationDuration :: Milliseconds, brackets :: Array BracketType, color :: String, iterations :: Int, multiline :: Boolean, padding :: RoughPadding, rtl :: Boolean, strokeWidth :: Number)

#NativeConfig Source

type NativeConfig = { animate :: Boolean, animationDuration :: Milliseconds, brackets :: Array String, color :: String, iterations :: Int, multiline :: Boolean, padding :: Array Number, rtl :: Boolean, strokeWidth :: Number }

for type safety reasons, the config that this purescript library uses is slightly different to the rough-notation expects. The type of config that rough-notation requires is called "NativeConfig"

#RoughPadding Source

data RoughPadding

Constructors

#defaultConfig Source