Safe Haskell | None |
---|---|
Language | GHC2021 |
Halogen.Svg.Attributes
Synopsis
- attributeName :: forall (r :: Row Type) i. HasType "attributeName" Text r => Text -> IProp r i
- begin :: forall (r :: Row Type) i. HasType "begin" Text r => Text -> IProp r i
- class_ :: forall (r :: Row Type) i. HasType "class" Text r => ClassName -> IProp r i
- classes :: forall (r :: Row Type) i. HasType "class" Text r => [ClassName] -> IProp r i
- cx :: forall (r :: Row Type) i. HasType "cx" Double r => Double -> IProp r i
- cy :: forall (r :: Row Type) i. HasType "cy" Double r => Double -> IProp r i
- d :: forall (r :: Row Type) i. HasType "d" Text r => [PathCommand] -> IProp r i
- defaultDuration :: Duration
- dominantBaseline :: forall (r :: Row Type) i. HasType "dominantBaseline" Text r => Baseline -> IProp r i
- dur :: forall (r :: Row Type) i. HasType "dur" Text r => Duration -> IProp r i
- fill :: forall (r :: Row Type) i. HasType "fill" Text r => Color -> IProp r i
- fillAnim :: forall (r :: Row Type) i. HasType "fill" Text r => FillState -> IProp r i
- fillOpacity :: forall (r :: Row Type) i. HasType "fillOpacity" Double r => Double -> IProp r i
- fontFamily :: forall (r :: Row Type) i. HasType "fontFamily" Text r => Text -> IProp r i
- fontSize :: forall (r :: Row Type) i. HasType "fontSize" Text r => FontSize -> IProp r i
- fontSizeAdjust :: forall (r :: Row Type) i. HasType "fontSizeAdjust" Text r => Double -> IProp r i
- fontStretch :: forall (r :: Row Type) i. HasType "fontStretch" Text r => FontStretch -> IProp r i
- fontStyle :: forall (r :: Row Type) i. HasType "fontStyle" Text r => FontStyle -> IProp r i
- fontVariant :: forall (r :: Row Type) i. HasType "fontVariant" Text r => Text -> IProp r i
- fontWeight :: forall (r :: Row Type) i. HasType "fontWeight" Text r => FontWeight -> IProp r i
- from :: forall (r :: Row Type) i. HasType "from" Text r => Text -> IProp r i
- height :: forall (r :: Row Type) i. HasType "height" Text r => Double -> IProp r i
- href :: forall (r :: Row Type) i. HasType "href" Text r => Text -> IProp r i
- id :: forall (r :: Row Type) i. HasType "id" Text r => Text -> IProp r i
- markerEnd :: forall (r :: Row Type) i. HasType "markerEnd" Text r => Text -> IProp r i
- markerHeight :: forall (r :: Row Type) i. HasType "markerHeight" Double r => Double -> IProp r i
- markerMid :: forall (r :: Row Type) i. HasType "markerMid" Text r => Text -> IProp r i
- markerStart :: forall (r :: Row Type) i. HasType "markerStart" Text r => Text -> IProp r i
- markerUnits :: forall (r :: Row Type) i. HasType "markerUnits" Text r => MarkerUnit -> IProp r i
- markerWidth :: forall (r :: Row Type) i. HasType "markerWidth" Double r => Double -> IProp r i
- mask :: forall (r :: Row Type) i. HasType "mask" Text r => Text -> IProp r i
- maskContentUnits :: forall (r :: Row Type) i. HasType "maskContentUnits" Text r => MaskUnit -> IProp r i
- maskUnits :: forall (r :: Row Type) i. HasType "maskUnits" Text r => MaskUnit -> IProp r i
- orient :: forall (r :: Row Type) i. HasType "orient" Text r => Orient -> IProp r i
- path :: forall (r :: Row Type) i. HasType "path" Text r => [PathCommand] -> IProp r i
- pathLength :: forall (r :: Row Type) i. HasType "pathLength" Text r => Double -> IProp r i
- patternContentUnits :: forall (r :: Row Type) i. HasType "patternContentUnits" Text r => Text -> IProp r i
- patternTransformation :: forall (r :: Row Type) i. HasType "patternTransformation" Text r => [Transformation] -> IProp r i
- patternUnits :: forall (r :: Row Type) i. HasType "patternUnits" Text r => Text -> IProp r i
- points :: forall (r :: Row Type) i. HasType "points" Text r => [(Double, Double)] -> IProp r i
- preserveAspectRatio :: forall (r :: Row Type) i. HasType "preserveAspectRatio" Text r => Maybe (Align, Align) -> MeetOrSlice -> IProp r i
- printBaseline :: Baseline -> Text
- printFillState :: FillState -> Text
- printFontStretch :: FontStretch -> Text
- printMarkerUnit :: MarkerUnit -> Text
- printMaskUnit :: MaskUnit -> Text
- printMeetOrSlice :: MeetOrSlice -> Text
- printOrient :: Orient -> Text
- printStrokeLineCap :: StrokeLineCap -> Text
- printStrokeLineJoin :: StrokeLineJoin -> Text
- printTextAnchor :: TextAnchor -> Text
- r :: forall (r :: Row Type) i. HasType "r" Text r => Double -> IProp r i
- refX :: forall (r :: Row Type) i. HasType "refX" Text r => Double -> IProp r i
- refY :: forall (r :: Row Type) i. HasType "refY" Text r => Double -> IProp r i
- renderValue :: Val a => a -> Text
- repeatCount :: forall (r :: Row Type) i. HasType "repeatCount" Text r => Text -> IProp r i
- rx :: forall (r :: Row Type) i. HasType "rx" Text r => Double -> IProp r i
- ry :: forall (r :: Row Type) i. HasType "ry" Text r => Double -> IProp r i
- stroke :: forall (r :: Row Type) i. HasType "stroke" Text r => Color -> IProp r i
- strokeDashArray :: forall (r :: Row Type) i. HasType "strokeDashArray" Text r => Text -> IProp r i
- strokeDashOffset :: forall (r :: Row Type) i. HasType "strokeDashOffset" Text r => Double -> IProp r i
- strokeLineCap :: forall (r :: Row Type) i. HasType "strokeLineCap" Text r => StrokeLineCap -> IProp r i
- strokeLineJoin :: forall (r :: Row Type) i. HasType "strokeLineJoin" Text r => StrokeLineJoin -> IProp r i
- strokeMiterLimit :: forall (r :: Row Type) i. HasType "strokeMiterLimit" Text r => Double -> IProp r i
- strokeOpacity :: forall (r :: Row Type) i. HasType "strokeOpacity" Text r => Double -> IProp r i
- strokeWidth :: forall (r :: Row Type) i. HasType "strokeWidth" Text r => Double -> IProp r i
- textAnchor :: forall (r :: Row Type) i. HasType "textAnchor" Text r => TextAnchor -> IProp r i
- to :: forall (r :: Row Type) i. HasType "to" Text r => Text -> IProp r i
- transformation :: forall (r :: Row Type) i. HasType "Transformation" Text r => [Transformation] -> IProp r i
- viewBox :: forall (r :: Row Type) i. HasType "viewBox" Text r => Double -> Double -> Double -> Double -> IProp r i
- width :: forall (r :: Row Type) i. HasType "width" Text r => Double -> IProp r i
- x :: forall (r :: Row Type) i. HasType "x" Text r => Double -> IProp r i
- x1 :: forall (r :: Row Type) i. HasType "x1" Text r => Double -> IProp r i
- x2 :: forall (r :: Row Type) i. HasType "x2" Text r => Double -> IProp r i
- xlinkHref :: forall (r :: Row Type) i. HasType "xlinkHref" Text r => Text -> IProp r i
- y :: forall (r :: Row Type) i. HasType "y" Text r => Double -> IProp r i
- y1 :: forall (r :: Row Type) i. HasType "y1" Text r => Double -> IProp r i
- y2 :: forall (r :: Row Type) i. HasType "y2" Text r => Double -> IProp r i
- data Align
- data Baseline
- data Duration = Duration {}
- data FillState
- data FontStretch
- data MarkerUnit
- data MaskUnit
- data MeetOrSlice
- data Orient
- newtype PathCommand = PathCommand Text
- data StrokeLineCap
- data StrokeLineJoin
- data TextAnchor
Documentation
attributeName :: forall (r :: Row Type) i. HasType "attributeName" Text r => Text -> IProp r i Source #
dominantBaseline :: forall (r :: Row Type) i. HasType "dominantBaseline" Text r => Baseline -> IProp r i Source #
fillOpacity :: forall (r :: Row Type) i. HasType "fillOpacity" Double r => Double -> 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 #
fontWeight :: forall (r :: Row Type) i. HasType "fontWeight" Text r => FontWeight -> IProp r i Source #
markerHeight :: forall (r :: Row Type) i. HasType "markerHeight" Double r => Double -> 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 #
maskContentUnits :: forall (r :: Row Type) i. HasType "maskContentUnits" Text r => MaskUnit -> 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 #
printBaseline :: Baseline -> Text Source #
printFillState :: FillState -> Text Source #
printFontStretch :: FontStretch -> Text Source #
printMarkerUnit :: MarkerUnit -> Text Source #
printMaskUnit :: MaskUnit -> Text Source #
printMeetOrSlice :: MeetOrSlice -> Text Source #
printOrient :: Orient -> Text Source #
printTextAnchor :: TextAnchor -> Text Source #
renderValue :: Val a => a -> Text 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 #
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 #
Constructors
Auto | |
UseScript | |
NoChange | |
ResetSize | |
Ideographic | |
Alphabetic | |
Hanging | |
Mathematical | |
Central | |
BaselineMiddle | |
TextAfterEdge | |
TextBeforeEdge |
data FontStretch Source #
Constructors
StretchNormal | |
StretchUltraCondensed | |
StretchExtraCondensed | |
StretchCondensed | |
StretchSemiCondensed | |
StretchSemiExpanded | |
StretchExpanded | |
StretchExtraExpanded | |
StretchUltraExpanded | |
StretchPercent Number |
Instances
Show FontStretch Source # | |
Defined in Halogen.Svg.Attributes Methods showsPrec :: Int -> FontStretch -> ShowS # show :: FontStretch -> String # showList :: [FontStretch] -> ShowS # | |
Eq FontStretch Source # | |
Defined in Halogen.Svg.Attributes |
data MarkerUnit Source #
Constructors
UserSpaceOnUse | |
StrokeWidth |
Instances
Show MarkerUnit Source # | |
Defined in Halogen.Svg.Attributes Methods showsPrec :: Int -> MarkerUnit -> ShowS # show :: MarkerUnit -> String # showList :: [MarkerUnit] -> ShowS # | |
Eq MarkerUnit Source # | |
Defined in Halogen.Svg.Attributes |
Constructors
UserSpaceOnUse_ | |
ObjectBoundingBox |
data MeetOrSlice Source #
Instances
Show MeetOrSlice Source # | |
Defined in Halogen.Svg.Attributes Methods showsPrec :: Int -> MeetOrSlice -> ShowS # show :: MeetOrSlice -> String # showList :: [MeetOrSlice] -> ShowS # | |
Eq MeetOrSlice Source # | |
Defined in Halogen.Svg.Attributes |
Constructors
AutoOrient | |
AutoStartReverse |
newtype PathCommand Source #
Constructors
PathCommand Text |
Instances
Show PathCommand Source # | |
Defined in Halogen.Svg.Attributes Methods showsPrec :: Int -> PathCommand -> ShowS # show :: PathCommand -> String # showList :: [PathCommand] -> ShowS # | |
Eq PathCommand Source # | |
Defined in Halogen.Svg.Attributes |
data StrokeLineCap Source #
Constructors
LineCapButt | |
LineCapSquare | |
LineCapRound |
Instances
Show StrokeLineCap Source # | |
Defined in Halogen.Svg.Attributes Methods showsPrec :: Int -> StrokeLineCap -> ShowS # show :: StrokeLineCap -> String # showList :: [StrokeLineCap] -> ShowS # | |
Eq StrokeLineCap Source # | |
Defined in Halogen.Svg.Attributes Methods (==) :: StrokeLineCap -> StrokeLineCap -> Bool # (/=) :: StrokeLineCap -> StrokeLineCap -> Bool # |
data StrokeLineJoin Source #
Instances
Show StrokeLineJoin Source # | |
Defined in Halogen.Svg.Attributes Methods showsPrec :: Int -> StrokeLineJoin -> ShowS # show :: StrokeLineJoin -> String # showList :: [StrokeLineJoin] -> ShowS # | |
Eq StrokeLineJoin Source # | |
Defined in Halogen.Svg.Attributes Methods (==) :: StrokeLineJoin -> StrokeLineJoin -> Bool # (/=) :: StrokeLineJoin -> StrokeLineJoin -> Bool # |
data TextAnchor Source #
Constructors
AnchorStart | |
AnchorMiddle | |
AnchorEnd |
Instances
Show TextAnchor Source # | |
Defined in Halogen.Svg.Attributes Methods showsPrec :: Int -> TextAnchor -> ShowS # show :: TextAnchor -> String # showList :: [TextAnchor] -> ShowS # | |
Eq TextAnchor Source # | |
Defined in Halogen.Svg.Attributes |