FunctionsElementCanvasScaledXElementCanvasScaledX CallableElementCanvasScaledX(xPos: number, anchorPosition?: AnchorX): numberCalculates the X position on the canvas in pixels, accounting for anchor alignment.ParametersxPos: numberanchorPosition: AnchorX = 'left'Returns number
Calculates the X position on the canvas in pixels, accounting for anchor alignment.