Module
Halogen.Svg.Attributes
- Package
- purescript-halogen-svg-elems
- Repository
- JordanMartinez/purescript-halogen-svg-elems
Similar to Halogen.HTML.Properties. You should always use
this module's entities (e.g. class_) over its corresponding
value in Halogen.HTML.Properties (e.g.HP.class_`).
When Algebraic Data Types (ADTs) are used, use the
show function to display what the ADT is and the printX function
to render the corresponding String value that should appear in the HTML.
#dominantBaseline Source
dominantBaseline :: forall r i. Baseline -> IProp (dominantBaseline :: String | r) i#fontSizeAdjust Source
fontSizeAdjust :: forall r i. Number -> IProp (fontSizeAdjust :: String | r) i#fontStretch Source
fontStretch :: forall r i. FontStretch -> IProp (fontStretch :: String | r) i#fontWeight Source
fontWeight :: forall r i. FontWeight -> IProp (fontWeight :: String | r) i#markerUnits Source
markerUnits :: forall r i. MarkerUnit -> IProp (markerUnits :: String | r) i#maskContentUnits Source
maskContentUnits :: forall r i. MaskUnit -> IProp (maskContentUnits :: String | r) i#patternContentUnits Source
patternContentUnits :: forall r i. String -> IProp (patternContentUnits :: String | r) i#patternTransform Source
patternTransform :: forall r i. Array Transform -> IProp (patternTransform :: String | r) i#preserveAspectRatio Source
preserveAspectRatio :: forall r i. Maybe { x_ :: Align, y_ :: Align } -> MeetOrSlice -> IProp (preserveAspectRatio :: String | r) i#strokeDashArray Source
strokeDashArray :: forall r i. String -> IProp (strokeDashArray :: String | r) i#strokeDashOffset Source
strokeDashOffset :: forall r i. Number -> IProp (strokeDashOffset :: String | r) i#strokeLineCap Source
strokeLineCap :: forall r i. StrokeLineCap -> IProp (strokeLineCap :: String | r) i#strokeLineJoin Source
strokeLineJoin :: forall r i. StrokeLineJoin -> IProp (strokeLineJoin :: String | r) i#strokeMiterLimit Source
strokeMiterLimit :: forall r i. Number -> IProp (strokeMiterLimit :: String | r) iThe Number arg must be greater than or equal to 1. Thus, this function
will use 1.0 if given any value less than 1.0.
#textAnchor Source
textAnchor :: forall r i. TextAnchor -> IProp (textAnchor :: String | r) iRe-exports from Halogen.Svg.Attributes.Align
#printAlign Source
printAlign :: Align -> StringRe-exports from Halogen.Svg.Attributes.Baseline
#printBaseline Source
printBaseline :: Baseline -> StringRe-exports from Halogen.Svg.Attributes.CSSLength
#printCSSLength Source
printCSSLength :: CSSLength -> StringRe-exports from Halogen.Svg.Attributes.Color
#printColor Source
printColor :: Color -> StringRe-exports from Halogen.Svg.Attributes.Duration
Re-exports from Halogen.Svg.Attributes.FillState
#printFillState Source
printFillState :: FillState -> StringRe-exports from Halogen.Svg.Attributes.FontSize
#printFontSize Source
printFontSize :: FontSize -> StringRe-exports from Halogen.Svg.Attributes.FontStretch
Re-exports from Halogen.Svg.Attributes.FontStyle
#printFontStyle Source
printFontStyle :: FontStyle -> StringRe-exports from Halogen.Svg.Attributes.FontWeight
#printFontWeight Source
printFontWeight :: FontWeight -> StringRe-exports from Halogen.Svg.Attributes.MarkerUnit
#printMarkerUnit Source
printMarkerUnit :: MarkerUnit -> StringRe-exports from Halogen.Svg.Attributes.MaskUnit
#printMaskUnit Source
printMaskUnit :: MaskUnit -> StringRe-exports from Halogen.Svg.Attributes.MeetOrSlice
Re-exports from Halogen.Svg.Attributes.Orient
#printOrient Source
printOrient :: Orient -> StringRe-exports from Halogen.Svg.Attributes.Path
#PathCommand Source
newtype PathCommandConstructor intentionally not exported.
use m, l, h, v, c, s, q, t, s, or z instead.
Instances
#CommandSweepChoice Source
data CommandSweepChoiceSweep0 = Counter-Clockwise / Negative Sweep1 = Clockwise / Positive
Constructors
Instances
#CommandPositionReference Source
#CommandArcChoice Source
#z Source
z :: PathCommand#v Source
v :: CommandPositionReference -> Number -> PathCommand#toArrayString Source
toArrayString :: Array PathCommand -> Array String#t Source
t :: CommandPositionReference -> Number -> Number -> PathCommand#s Source
s :: CommandPositionReference -> Number -> Number -> Number -> Number -> PathCommand#q Source
q :: CommandPositionReference -> Number -> Number -> Number -> Number -> PathCommand#m Source
m :: CommandPositionReference -> Number -> Number -> PathCommand#l Source
l :: CommandPositionReference -> Number -> Number -> PathCommand#h Source
h :: CommandPositionReference -> Number -> PathCommand#c Source
c :: CommandPositionReference -> Number -> Number -> Number -> Number -> Number -> Number -> PathCommand#a Source
a :: CommandPositionReference -> Number -> Number -> Number -> CommandArcChoice -> CommandSweepChoice -> Number -> Number -> PathCommandRe-exports from Halogen.Svg.Attributes.StrokeLineCap
Re-exports from Halogen.Svg.Attributes.StrokeLineJoin
Re-exports from Halogen.Svg.Attributes.TextAnchor
#printTextAnchor Source
printTextAnchor :: TextAnchor -> StringRe-exports from Halogen.Svg.Attributes.Transform
#printTransform Source
printTransform :: Transform -> String- Modules
- Halogen.
Svg. Attributes - Halogen.
Svg. Attributes. Align - Halogen.
Svg. Attributes. Baseline - Halogen.
Svg. Attributes. CSSLength - Halogen.
Svg. Attributes. Color - Halogen.
Svg. Attributes. Duration - Halogen.
Svg. Attributes. FillState - Halogen.
Svg. Attributes. FontSize - Halogen.
Svg. Attributes. FontStretch - Halogen.
Svg. Attributes. FontStyle - Halogen.
Svg. Attributes. FontWeight - Halogen.
Svg. Attributes. MarkerUnit - Halogen.
Svg. Attributes. MaskUnit - Halogen.
Svg. Attributes. MeetOrSlice - Halogen.
Svg. Attributes. Orient - Halogen.
Svg. Attributes. Path - Halogen.
Svg. Attributes. StrokeLineCap - Halogen.
Svg. Attributes. StrokeLineJoin - Halogen.
Svg. Attributes. TextAnchor - Halogen.
Svg. Attributes. Transform - Halogen.
Svg. Elements - Halogen.
Svg. Indexed