Class type Text-PIXI._t
inherit PIXI.Sprite._t
method canvas#=: Js.Internal.meth([ `Arity_1(Webapi.Dom.HtmlElement.t) ], unit)The canvas element that everything is drawn to
method context#=: Js.Internal.meth([ `Arity_1(Webapi.Canvas.Canvas2d.t) ], unit)The canvas 2d context that everything is drawn with
method resolution#=: Js.Internal.meth([ `Arity_1(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.
method resolution: floatThe 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.
method style#=: Js.Internal.meth([ `Arity_1(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.
method style: PIXI.TextStyle.tSet the style of the text. Set up an event listener to listen for changes on the style object and mark the text as dirty.