Module
Sketch.Types
- Package
- purescript-sketch
- Repository
- iarthstar/purescript-sketch
#ArtboardLayer Source
newtype ArtboardLayer
Constructors
ArtboardLayer { background :: Background, exportFormats :: Array ExportFormat, frame :: Frame, id :: String, layers :: Array Layer, name :: String, selected :: Boolean, type :: String }
Instances
#TextLayer Source
#TextStyle Source
newtype TextStyle
Constructors
TextStyle { alignment :: String, fontFamily :: String, fontSize :: Number, fontWeight :: Number, id :: String, kerning :: Maybe Number, lineHeight :: Maybe Number, opacity :: Number, shadows :: Maybe (Array Shadow), textColor :: String, textTransform :: String, type :: String, verticalAlignment :: String }
Instances
#GroupLayer Source
newtype GroupLayer
Constructors
GroupLayer { frame :: Frame, hidden :: Boolean, id :: String, layers :: Array Layer, locked :: Boolean, name :: String, style :: GroupStyle, type :: String }
Instances
#GroupStyle Source
#ImageLayer Source
newtype ImageLayer
Constructors
ImageLayer { frame :: Frame, hidden :: Boolean, id :: String, image :: ImageData, locked :: Boolean, name :: String, style :: ImageStyle, type :: String }
Instances
#ImageStyle Source
#ShapeLayer Source
newtype ShapeLayer
Constructors
ShapeLayer { frame :: Frame, hidden :: Boolean, id :: String, locked :: Boolean, name :: String, points :: Array Points, shapeType :: String, style :: ShapeStyle, type :: String }
Instances
#ShapeStyle Source
#ExportFormat Source
newtype ExportFormat
Constructors
ExportFormat { fileFormat :: String, size :: String, type :: String }
Instances
#Background Source
newtype Background
Constructors
Background { color :: String, enabled :: Boolean, includedInExport :: Boolean }