Skip to content

ViewPortDict

Dictionary Type

ViewPortDict

Bases: TypedDict

Dictionary form of ViewPort.

Attributes

height instance-attribute
height: Required[int]

The height of the viewport in pixels. This value determines the vertical dimension of the visible area. Valid values range from 600 to 1080 pixels.

width instance-attribute
width: Required[int]

The width of the viewport in pixels. This value determines the horizontal dimension of the visible area. Valid values range from 800 to 1920 pixels.