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

Safe HaskellNone
LanguageHaskell2010

Reflex.Dom.Widget.SVG.Types.Radius

Description

Types and function for the Radius wrapper.

Synopsis

Documentation

data Radius p Source #

The value of a Radius is just a Float. But we can do better so we wrap it up in a newtype to keep things organised.

Instances
Eq (Radius p) Source # 
Instance details

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

Methods

(==) :: Radius p -> Radius p -> Bool #

(/=) :: Radius p -> Radius p -> Bool #

Show (Radius p) Source # 
Instance details

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

Methods

showsPrec :: Int -> Radius p -> ShowS #

show :: Radius p -> String #

showList :: [Radius p] -> ShowS #

Wrapped (Radius p) Source # 
Instance details

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

Associated Types

type Unwrapped (Radius p) :: * #

Methods

_Wrapped' :: Iso' (Radius p) (Unwrapped (Radius p)) #

Radius p ~ t => Rewrapped (Radius p) t Source # 
Instance details

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

type Unwrapped (Radius p) Source # 
Instance details

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

_Radius :: Iso' (Radius ()) Float Source #

Iso for the float value of a radius

_RadiusX :: Iso' (Radius X) Float Source #

Iso for the float value of an X position radius

_RadiusY :: Iso' (Radius Y) Float Source #

Iso for the float value of an Y position radius