mirror of
https://github.com/photonstorm/phaser
synced 2025-01-05 01:38:50 +00:00
a69c156526
Set the Style properties `boundsAlignH` and `boundsAlignV` or adjust them via the Text setters to change the alignment. It works by calculating the final position based on the Text.canvas size, which is modified as the text is updated. Some fonts have additional padding around them which you can mitigate by tweaking the Text.padding property. Setting a textBounds _doesn't_ update the wordWrapWidth, so be aware of the relationship between the two. Call this method with nothing defined for any of the parameters to reset an existing textBounds. #1824
50 lines
1.8 KiB
JSON
50 lines
1.8 KiB
JSON
[
|
|
"src/pixi/Intro.js",
|
|
|
|
"src/pixi/Pixi.js",
|
|
"src/pixi/display/DisplayObject.js",
|
|
"src/pixi/display/DisplayObjectContainer.js",
|
|
"src/pixi/display/Sprite.js",
|
|
"src/pixi/display/SpriteBatch.js",
|
|
"src/pixi/display/Stage.js",
|
|
|
|
"src/pixi/utils/Utils.js",
|
|
"src/pixi/utils/Polyk.js",
|
|
|
|
"src/pixi/renderers/webgl/utils/WebGLShaderUtils.js",
|
|
"src/pixi/renderers/webgl/shaders/PixiShader.js",
|
|
"src/pixi/renderers/webgl/shaders/PixiFastShader.js",
|
|
"src/pixi/renderers/webgl/shaders/StripShader.js",
|
|
"src/pixi/renderers/webgl/shaders/PrimitiveShader.js",
|
|
"src/pixi/renderers/webgl/shaders/ComplexPrimitiveShader.js",
|
|
"src/pixi/renderers/webgl/utils/WebGLGraphics.js",
|
|
"src/pixi/renderers/webgl/WebGLRenderer.js",
|
|
"src/pixi/renderers/webgl/utils/WebGLBlendModeManager.js",
|
|
"src/pixi/renderers/webgl/utils/WebGLMaskManager.js",
|
|
"src/pixi/renderers/webgl/utils/WebGLStencilManager.js",
|
|
"src/pixi/renderers/webgl/utils/WebGLShaderManager.js",
|
|
"src/pixi/renderers/webgl/utils/WebGLSpriteBatch.js",
|
|
"src/pixi/renderers/webgl/utils/WebGLFastSpriteBatch.js",
|
|
"src/pixi/renderers/webgl/utils/WebGLFilterManager.js",
|
|
"src/pixi/renderers/webgl/utils/FilterTexture.js",
|
|
"src/pixi/renderers/canvas/utils/CanvasBuffer.js",
|
|
"src/pixi/renderers/canvas/utils/CanvasMaskManager.js",
|
|
"src/pixi/renderers/canvas/utils/CanvasTinter.js",
|
|
"src/pixi/renderers/canvas/CanvasRenderer.js",
|
|
"src/pixi/renderers/canvas/CanvasGraphics.js",
|
|
|
|
"src/pixi/primitives/Graphics.js",
|
|
"src/pixi/primitives/GraphicsData.js",
|
|
|
|
"src/pixi/extras/Strip.js",
|
|
"src/pixi/extras/Rope.js",
|
|
"src/pixi/extras/TilingSprite.js",
|
|
|
|
"src/pixi/textures/BaseTexture.js",
|
|
"src/pixi/textures/Texture.js",
|
|
"src/pixi/textures/RenderTexture.js",
|
|
|
|
"src/pixi/filters/AbstractFilter.js",
|
|
|
|
"src/pixi/Outro.js"
|
|
]
|