Skip to main content

ElementCanvasScaledY

Callable

  • ElementCanvasScaledY(yPos: number, anchorPosition?: AnchorY): number

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


    Parameters

    • yPos: number
    • anchorPosition: AnchorY = 'top'

    Returns number