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

Safe HaskellNone
LanguageHaskell2010

Reflex.Dom.Widget.SVG.Types.SVG_Rect

Description

Types and lenses for the <rect> SVG element.

Synopsis

Documentation

data SVG_Rect Source #

SVG <rect> properties

Constructors

SVG_Rect 

Fields

Instances
Eq SVG_Rect Source # 
Instance details

Defined in Reflex.Dom.Widget.SVG.Types.SVG_Rect

Show SVG_Rect Source # 
Instance details

Defined in Reflex.Dom.Widget.SVG.Types.SVG_Rect

svg_rect_pos_x :: Lens' SVG_Rect (Pos X) Source #

Lens for the Pos X of a SVG_Rect

svg_rect_pos_y :: Lens' SVG_Rect (Pos Y) Source #

Lens for the Pos Y of a SVG_Rect

svg_rect_width :: Lens' SVG_Rect Width Source #

Lens for the Width of a SVG_Rect

svg_rect_height :: Lens' SVG_Rect Height Source #

Lens for the Height of a SVG_Rect

svg_rect_cornerRadius_x :: Lens' SVG_Rect (Maybe (CornerRadius X)) Source #

Lens for the X corner radius

svg_rect_cornerRadius_y :: Lens' SVG_Rect (Maybe (CornerRadius Y)) Source #

Lens for the Y corner radius

makeRectProps :: SVG_Rect -> Map Text Text Source #

Convert the given properties to the correct attributes for a <rect>.