Contents

canvasPixelAspectRatio()

Returns the pixel aspect ratio of the canvas.

Declaration

func canvasPixelAspectRatio() -> Double

Return Value

The pixel aspect ratio of the canvas.

Discussion

This can change if the user sets the canvas to be viewed with or without pixel aspect ratio correction, so do not cache this value.

See Also

Canvas Information