reflex-dom-svg-0.3.2.0: Reflex functions for SVG elements.

Reflex.Dom.Widget.SVG.Types.SVG_PolyLine

Description

Types and functions for the <polyline> SVG element.

The <polyline> SVG element is an SVG basic shape that creates straight lines connecting several points. Typically a polyline is used to create open shapes as the last point doesn't have to be connected to the first point. For closed shapes see the <polygon> element.

Synopsis

# Documentation

Properties for the <polyline> element.

Constructors

 SVG_PolyLine Fields_svg_polyLine_start :: (Pos X, Pos Y) _svg_polyLine_path :: NonEmpty (Pos X, Pos Y)
Instances
 Source # Instance detailsDefined in Reflex.Dom.Widget.SVG.Types.SVG_PolyLine Methods Source # Instance detailsDefined in Reflex.Dom.Widget.SVG.Types.SVG_PolyLine MethodsshowList :: [SVG_PolyLine] -> ShowS #

Lens for the list of (Pos X, Pos Y) of an SVG_PolyLine path attribute.

Lens for the starting (Pos X, Pos Y) of an SVG_PolyLine element.

Convert the given properties to the correct points attribute of a <polygon>.