Module
Graphics.Phaser.Text
- Package
- purescript-phaser
- Repository
- lfarroco/purescript-phaser
#create Source
create :: String -> PhaserScene -> Effect PhaserText
#createFromArray Source
createFromArray :: Array String -> PhaserScene -> Effect PhaserText
#setText Source
setText :: String -> PhaserText -> Effect PhaserText
#PhaserTextMetrics Source
type PhaserTextMetrics = { ascent :: Number, descent :: Number, fontSize :: Number }
#setColor Source
setColor :: String -> PhaserText -> Effect PhaserText
#setFontFamily Source
setFontFamily :: String -> PhaserText -> Effect PhaserText
#setFont Source
setFont :: String -> PhaserText -> Effect PhaserText
#setFontSize Source
setFontSize :: Number -> PhaserText -> Effect PhaserText
#setFontStyle Source
setFontStyle :: String -> PhaserText -> Effect PhaserText
#setLineSpacing Source
setLineSpacing :: Number -> PhaserText -> Effect PhaserText
#setMaxLines Source
setMaxLines :: Number -> PhaserText -> Effect PhaserText
#SetPaddingConfig Source
type SetPaddingConfig = { bottom :: Number, left :: Number, right :: Number, top :: Number }
#setPadding Source
setPadding :: SetPaddingConfig -> PhaserText -> Effect PhaserText
#setShadowBlur Source
setShadowBlur :: Number -> PhaserText -> Effect PhaserText
#setShadowColor Source
setShadowColor :: String -> PhaserText -> Effect PhaserText
#setShadowFill Source
setShadowFill :: String -> PhaserText -> Effect PhaserText
#setShadow Source
setShadow :: PhaserText -> Effect PhaserText
#setShadowOffset Source
setShadowOffset :: Vector -> PhaserText -> Effect PhaserText
#setShadowStroke Source
setShadowStroke :: Boolean -> PhaserText -> Effect PhaserText
#setStroke Source
setStroke :: String -> Number -> PhaserText -> Effect PhaserText
Color, Thickness
#setStyle Source
setStyle :: SetStyleConfig -> PhaserText -> Effect PhaserText
#updateText Source
updateText :: PhaserText -> Effect PhaserText
- Modules
- Graphics.
Phaser - Graphics.
Phaser. ArcadePhysics - Graphics.
Phaser. Camera - Graphics.
Phaser. Container - Graphics.
Phaser. CoreTypes - Graphics.
Phaser. Curves - Graphics.
Phaser. Display. RGB - Graphics.
Phaser. Events - Graphics.
Phaser. ForeignTypes - Graphics.
Phaser. GameConfig - Graphics.
Phaser. GameObject - Graphics.
Phaser. GameObjects. LightsManager - Graphics.
Phaser. Graphics - Graphics.
Phaser. Image - Graphics.
Phaser. Input. InputPlugin - Graphics.
Phaser. Input. Pointer - Graphics.
Phaser. Loader - Graphics.
Phaser. Scene - Graphics.
Phaser. SceneManager - Graphics.
Phaser. Sprite - Graphics.
Phaser. Text - Graphics.
Phaser. TileMap - Graphics.
Phaser. Time - Graphics.
Phaser. Tween - Graphics.
Tweens. TweenManager - Internal.
Utils - Phaser.
Graphics. Input. KeyCodes - Utils.
FFI