Viewport

interface Viewport

The picture's size in display pixels.

Not the drawing buffer's: see the note at the top of this file. Width is carried because the horizontal field, and only the horizontal field, depends on it.

lens.ts:128

Members

heightreadonly

height: number

widthreadonly

width: number