Skip to main content

ElementCanvasScaledX

Callable

  • ElementCanvasScaledX(xPos: number, anchorPosition?: AnchorX): number

  • Calculates the X position on the canvas in pixels, accounting for anchor alignment.


    Parameters

    • xPos: number
    • anchorPosition: AnchorX = 'left'

    Returns number