Skip to content

AspectRatio

Source code in docs_src/capo_elementalinference/types/aspect_ratio.py
class AspectRatio(TypedDict, closed=True):
    width: "int"
    """<p>The width component of the aspect ratio (for example, 16 in a 16:9 ratio).</p>"""
    height: "int"
    """<p>The height component of the aspect ratio (for example, 9 in a 16:9 ratio).</p>"""

height instance-attribute

height: int

The height component of the aspect ratio (for example, 9 in a 16:9 ratio).

width instance-attribute

width: int

The width component of the aspect ratio (for example, 16 in a 16:9 ratio).