Module
Graphics.Glapple.Data.Picture
- Package
- purescript-glappleDEPRECATED
- Repository
- yukikurage/purescript-glapple
#(<-*) Source
Operator alias for Graphics.Glapple.Data.Picture.multiplyComposite (left-associative / precedence 5)
#(<-+) Source
Operator alias for Graphics.Glapple.Data.Picture.addComposite (left-associative / precedence 5)
#(<-.) Source
Operator alias for Graphics.Glapple.Data.Picture.destinationOverComposite (left-associative / precedence 5)
#(<-^) Source
Operator alias for Graphics.Glapple.Data.Picture.sourceOverComposite (left-associative / precedence 5)
#DrawStyle Source
data DrawStyle sprite
Constructors
LinearGradient { colorStops :: Array (Number /\ Color), x0 :: Number, x1 :: Number, y0 :: Number, y1 :: Number }
RadialGradient { colorStops :: Array (Number /\ Color), r0 :: Number, r1 :: Number, x0 :: Number, x1 :: Number, y0 :: Number, y1 :: Number }
Pattern { repeat :: PatternRepeat, sprite :: sprite }
MonoColor Color
Instances
#FontFamily Source
#FontWeight Source
#destinationOverComposite Source
destinationOverComposite :: forall s. Picture s -> Picture s -> Picture s
#drawPicture Source
drawPicture :: forall sprite. Context2D -> (sprite -> Maybe CanvasImageSource) -> Picture sprite -> Effect Unit
Draw a picture It is not recommended to use this except for the glapple system.
#drawWithTransform Source
drawWithTransform :: forall s. (Transform -> Picture s) -> Picture s
Retrieves the current transform state and draws a Picture.
#textBaseLine Source
textBaseLine :: forall s. TextBaseline -> Picture s -> Picture s
Set textBaseLine.
- Modules
- Graphics.
Glapple - Graphics.
Glapple. Data. Collider - Graphics.
Glapple. Data. Complex - Graphics.
Glapple. Data. Component - Graphics.
Glapple. Data. Emitter - Graphics.
Glapple. Data. Hooks - Graphics.
Glapple. Data. KeyEvent - Graphics.
Glapple. Data. Picture - Graphics.
Glapple. Data. Sprite - Graphics.
Glapple. Data. Transform - Graphics.
Glapple. Hooks. UseClick - Graphics.
Glapple. Hooks. UseDestroy - Graphics.
Glapple. Hooks. UseFinalize - Graphics.
Glapple. Hooks. UseHover - Graphics.
Glapple. Hooks. UseInterval - Graphics.
Glapple. Hooks. UseKeyEvent - Graphics.
Glapple. Hooks. UseLazy - Graphics.
Glapple. Hooks. UseLocalTime - Graphics.
Glapple. Hooks. UseRenderer - Graphics.
Glapple. Hooks. UseRunner - Graphics.
Glapple. Hooks. UseState - Graphics.
Glapple. Hooks. UseTimeout - Graphics.
Glapple. Hooks. UseTransform - Graphics.
Glapple. Hooks. UseUpdate - Graphics.
Glapple. Hooks. UseVelocity - Graphics.
Glapple. Runner - Graphics.
Glapple. UseKeyState - Graphics.
Glapple. UseMouseState - Graphics.
Glapple. Util