texture.anchorX

Type Number
Object TextureResourceCanvas
Library graphics.*
Revision 2017.3178
See also TextureResource
TextureResourceCanvas
texture.width
texture.anchorY

Overview

This property can be used to change the origin point of the rendered canvas. Anchor point units are relative which means that setting anchorX to 1.0 will offset contents of the canvas by texture.width. Default is 0.0.