avix-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Data.Exo.TLObject

Synopsis

Documentation

data Resolution Source #

Constructors

VGA 
HD 
FullHD 
Niconico 
Custom (V2 Int) 

_resolution :: Getter Resolution (V2 Int) Source #

>>> VGA ^. _resolution
V2 640 480
>>> HD ^. _resolution
V2 1280 720
>>> FullHD ^. _resolution
V2 1920 1080
>>> Niconico ^. _resolution
V2 960 540
>>> (Custom v) ^. _resolution
v

type TLObjectR = '["start" >: Natural, "end" >: Natural, "layer" >: Int, "camera" >: Bool, "clipping" >: Bool, "object" >: Variant '["movie" >: Movie, "sound" >: Sound, "figure" >: Figure], "renderer" >: StdRenderer] Source #

newtype TLObject Source #

Example

def & #object .~ embed (#movie @= def)

Constructors

TLObject 

_TLinterval :: Lens' TLObject (Interval Natural) Source #

Interval of TLObject: [start, end]

TLObject r ^. _TLinterval == (r ^. end)