Canvas.scaledViewportWidth Property

Gets the width of the contained area inside the viewport in pixels.
 

Property Value

Type: Number