haskell-halogen-core
Safe HaskellNone
LanguageGHC2021

Halogen.Svg.Attributes

Synopsis

Documentation

attributeName :: forall (r :: Row Type) i. HasType "attributeName" Text r => Text -> IProp r i Source #

begin :: forall (r :: Row Type) i. HasType "begin" Text r => Text -> IProp r i Source #

class_ :: forall (r :: Row Type) i. HasType "class" Text r => ClassName -> IProp r i Source #

classes :: forall (r :: Row Type) i. HasType "class" Text r => [ClassName] -> IProp r i Source #

cx :: forall (r :: Row Type) i. HasType "cx" Double r => Double -> IProp r i Source #

cy :: forall (r :: Row Type) i. HasType "cy" Double r => Double -> IProp r i Source #

d :: forall (r :: Row Type) i. HasType "d" Text r => [PathCommand] -> IProp r i Source #

dominantBaseline :: forall (r :: Row Type) i. HasType "dominantBaseline" Text r => Baseline -> IProp r i Source #

dur :: forall (r :: Row Type) i. HasType "dur" Text r => Duration -> IProp r i Source #

fill :: forall (r :: Row Type) i. HasType "fill" Text r => Color -> IProp r i Source #

fillAnim :: forall (r :: Row Type) i. HasType "fill" Text r => FillState -> IProp r i Source #

fillOpacity :: forall (r :: Row Type) i. HasType "fillOpacity" Double r => Double -> IProp r i Source #

fontFamily :: forall (r :: Row Type) i. HasType "fontFamily" Text r => Text -> IProp r i Source #

fontSize :: forall (r :: Row Type) i. HasType "fontSize" Text r => FontSize -> IProp r i Source #

fontSizeAdjust :: forall (r :: Row Type) i. HasType "fontSizeAdjust" Text r => Double -> IProp r i Source #

fontStretch :: forall (r :: Row Type) i. HasType "fontStretch" Text r => FontStretch -> IProp r i Source #

fontStyle :: forall (r :: Row Type) i. HasType "fontStyle" Text r => FontStyle -> IProp r i Source #

fontVariant :: forall (r :: Row Type) i. HasType "fontVariant" Text r => Text -> IProp r i Source #

fontWeight :: forall (r :: Row Type) i. HasType "fontWeight" Text r => FontWeight -> IProp r i Source #

from :: forall (r :: Row Type) i. HasType "from" Text r => Text -> IProp r i Source #

height :: forall (r :: Row Type) i. HasType "height" Text r => Double -> IProp r i Source #

href :: forall (r :: Row Type) i. HasType "href" Text r => Text -> IProp r i Source #

id :: forall (r :: Row Type) i. HasType "id" Text r => Text -> IProp r i Source #

markerEnd :: forall (r :: Row Type) i. HasType "markerEnd" Text r => Text -> IProp r i Source #

markerHeight :: forall (r :: Row Type) i. HasType "markerHeight" Double r => Double -> IProp r i Source #

markerMid :: forall (r :: Row Type) i. HasType "markerMid" Text r => Text -> IProp r i Source #

markerStart :: forall (r :: Row Type) i. HasType "markerStart" Text r => Text -> IProp r i Source #

markerUnits :: forall (r :: Row Type) i. HasType "markerUnits" Text r => MarkerUnit -> IProp r i Source #

markerWidth :: forall (r :: Row Type) i. HasType "markerWidth" Double r => Double -> IProp r i Source #

mask :: forall (r :: Row Type) i. HasType "mask" Text r => Text -> IProp r i Source #

maskContentUnits :: forall (r :: Row Type) i. HasType "maskContentUnits" Text r => MaskUnit -> IProp r i Source #

maskUnits :: forall (r :: Row Type) i. HasType "maskUnits" Text r => MaskUnit -> IProp r i Source #

orient :: forall (r :: Row Type) i. HasType "orient" Text r => Orient -> IProp r i Source #

path :: forall (r :: Row Type) i. HasType "path" Text r => [PathCommand] -> IProp r i Source #

pathLength :: forall (r :: Row Type) i. HasType "pathLength" Text r => Double -> IProp r i Source #

patternContentUnits :: forall (r :: Row Type) i. HasType "patternContentUnits" Text r => Text -> IProp r i Source #

patternTransformation :: forall (r :: Row Type) i. HasType "patternTransformation" Text r => [Transformation] -> IProp r i Source #

patternUnits :: forall (r :: Row Type) i. HasType "patternUnits" Text r => Text -> IProp r i Source #

points :: forall (r :: Row Type) i. HasType "points" Text r => [(Double, Double)] -> IProp r i Source #

An array of x-y value pairs (e.g. `[(x, y)]`).

preserveAspectRatio :: forall (r :: Row Type) i. HasType "preserveAspectRatio" Text r => Maybe (Align, Align) -> MeetOrSlice -> IProp r i Source #

r :: forall (r :: Row Type) i. HasType "r" Text r => Double -> IProp r i Source #

refX :: forall (r :: Row Type) i. HasType "refX" Text r => Double -> IProp r i Source #

refY :: forall (r :: Row Type) i. HasType "refY" Text r => Double -> IProp r i Source #

renderValue :: Val a => a -> Text Source #

repeatCount :: forall (r :: Row Type) i. HasType "repeatCount" Text r => Text -> IProp r i Source #

rx :: forall (r :: Row Type) i. HasType "rx" Text r => Double -> IProp r i Source #

ry :: forall (r :: Row Type) i. HasType "ry" Text r => Double -> IProp r i Source #

stroke :: forall (r :: Row Type) i. HasType "stroke" Text r => Color -> IProp r i Source #

strokeDashArray :: forall (r :: Row Type) i. HasType "strokeDashArray" Text r => Text -> IProp r i Source #

strokeDashOffset :: forall (r :: Row Type) i. HasType "strokeDashOffset" Text r => Double -> IProp r i Source #

strokeLineCap :: forall (r :: Row Type) i. HasType "strokeLineCap" Text r => StrokeLineCap -> IProp r i Source #

strokeLineJoin :: forall (r :: Row Type) i. HasType "strokeLineJoin" Text r => StrokeLineJoin -> IProp r i Source #

strokeMiterLimit :: forall (r :: Row Type) i. HasType "strokeMiterLimit" Text r => Double -> IProp r i Source #

The Double arg must be greater than or equal to 1. Thus, this function | will use `1.0` if given any value less than `1.0`.

strokeOpacity :: forall (r :: Row Type) i. HasType "strokeOpacity" Text r => Double -> IProp r i Source #

strokeWidth :: forall (r :: Row Type) i. HasType "strokeWidth" Text r => Double -> IProp r i Source #

textAnchor :: forall (r :: Row Type) i. HasType "textAnchor" Text r => TextAnchor -> IProp r i Source #

to :: forall (r :: Row Type) i. HasType "to" Text r => Text -> IProp r i Source #

transformation :: forall (r :: Row Type) i. HasType "Transformation" Text r => [Transformation] -> IProp r i Source #

viewBox :: forall (r :: Row Type) i. HasType "viewBox" Text r => Double -> Double -> Double -> Double -> IProp r i Source #

width :: forall (r :: Row Type) i. HasType "width" Text r => Double -> IProp r i Source #

x :: forall (r :: Row Type) i. HasType "x" Text r => Double -> IProp r i Source #

x1 :: forall (r :: Row Type) i. HasType "x1" Text r => Double -> IProp r i Source #

x2 :: forall (r :: Row Type) i. HasType "x2" Text r => Double -> IProp r i Source #

xlinkHref :: forall (r :: Row Type) i. HasType "xlinkHref" Text r => Text -> IProp r i Source #

y :: forall (r :: Row Type) i. HasType "y" Text r => Double -> IProp r i Source #

y1 :: forall (r :: Row Type) i. HasType "y1" Text r => Double -> IProp r i Source #

y2 :: forall (r :: Row Type) i. HasType "y2" Text r => Double -> IProp r i Source #

data Align Source #

Constructors

Min 
Mid 
Max 

Instances

Instances details
Show Align Source # 
Instance details

Defined in Halogen.Svg.Attributes

Methods

showsPrec :: Int -> Align -> ShowS #

show :: Align -> String #

showList :: [Align] -> ShowS #

Eq Align Source # 
Instance details

Defined in Halogen.Svg.Attributes

Methods

(==) :: Align -> Align -> Bool #

(/=) :: Align -> Align -> Bool #

data FillState Source #

Constructors

Freeze 
Remove 

Instances

Instances details
Show FillState Source # 
Instance details

Defined in Halogen.Svg.Attributes

Eq FillState Source # 
Instance details

Defined in Halogen.Svg.Attributes

data MarkerUnit Source #

Instances

Instances details
Show MarkerUnit Source # 
Instance details

Defined in Halogen.Svg.Attributes

Eq MarkerUnit Source # 
Instance details

Defined in Halogen.Svg.Attributes

data MaskUnit Source #

Instances

Instances details
Show MaskUnit Source # 
Instance details

Defined in Halogen.Svg.Attributes

Eq MaskUnit Source # 
Instance details

Defined in Halogen.Svg.Attributes

data MeetOrSlice Source #

Constructors

Meet 
Slice 

Instances

Instances details
Show MeetOrSlice Source # 
Instance details

Defined in Halogen.Svg.Attributes

Eq MeetOrSlice Source # 
Instance details

Defined in Halogen.Svg.Attributes

data Orient Source #

Instances

Instances details
Eq Orient Source # 
Instance details

Defined in Halogen.Svg.Attributes

Methods

(==) :: Orient -> Orient -> Bool #

(/=) :: Orient -> Orient -> Bool #

Ord Orient Source # 
Instance details

Defined in Halogen.Svg.Attributes

newtype PathCommand Source #

Constructors

PathCommand Text 

Instances

Instances details
Show PathCommand Source # 
Instance details

Defined in Halogen.Svg.Attributes

Eq PathCommand Source # 
Instance details

Defined in Halogen.Svg.Attributes

data TextAnchor Source #

Instances

Instances details
Show TextAnchor Source # 
Instance details

Defined in Halogen.Svg.Attributes

Eq TextAnchor Source # 
Instance details

Defined in Halogen.Svg.Attributes