reflex-dom-svg-0.3.2.0: Reflex functions for SVG elements.
Reflex.Dom.Widget.SVG.Types.SVG_Line
Description
Types and functions for <line> SVG element.
data SVG_Line Source #
Properties for the <line> element.
Constructors
Fields
Defined in Reflex.Dom.Widget.SVG.Types.SVG_Line
Methods
(==) :: SVG_Line -> SVG_Line -> Bool #
(/=) :: SVG_Line -> SVG_Line -> Bool #
showsPrec :: Int -> SVG_Line -> ShowS #
show :: SVG_Line -> String #
showList :: [SVG_Line] -> ShowS #
svg_line_pos_end :: Lens' SVG_Line (Pos X, Pos Y) Source #
Lens for the end of the SVG_Line
SVG_Line
svg_line_pos_start :: Lens' SVG_Line (Pos X, Pos Y) Source #
Lens for the start of the SVG_Line
makeSVGLineProps :: SVG_Line -> Map Text Text Source #
Convert our SVG_Line to the correct attribute map for Reflex.