Module Text-PIXI.Impl
let create: text:string => ?style:PIXI.TextStyle.t => ?canvas:Webapi.Dom.HtmlElement.t => unit => t;let getCanvas: Js.t(_t) => Webapi.Dom.HtmlElement.t;The canvas element that everything is drawn to
let setCanvas: Js.t(_t) => Webapi.Dom.HtmlElement.t => unit;The canvas element that everything is drawn to
let getContext: Js.t(_t) => Webapi.Canvas.Canvas2d.t;The canvas 2d context that everything is drawn with
let setContext: Js.t(_t) => Webapi.Canvas.Canvas2d.t => unit;The canvas 2d context that everything is drawn with
let getResolution: Js.t(_t) => float;The resolution / device pixel ratio of the canvas. This is set to automatically match the renderer resolution by default, but can be overridden by setting manually.
let setResolution: Js.t(_t) => float => unit;The resolution / device pixel ratio of the canvas. This is set to automatically match the renderer resolution by default, but can be overridden by setting manually.
let getStyle: Js.t(_t) => PIXI.TextStyle.t;Set the style of the text. Set up an event listener to listen for changes on the style object and mark the text as dirty.
let setStyle: Js.t(_t) => PIXI.TextStyle.t => unit;Set the style of the text. Set up an event listener to listen for changes on the style object and mark the text as dirty.
let getText: Js.t(_t) => string;Set the copy for the text object. To split a line you can use '\n'.
let setText: Js.t(_t) => string => unit;Set the copy for the text object. To split a line you can use '\n'.