Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
mops 3.5.0 documentation
Light Logo Dark Logo
mops 3.5.0 documentation

User Guide

  • Getting Started
  • DriverWrapper
    • DriverWrapper Interface
    • DriverWrapperSessions Interface
  • Page
    • Page Key Features
    • Page Best Practices
    • Page Interface
  • Group
    • Group Key Features
    • Group Best Practices
    • Group Interface
  • Element
    • Element Key Features
    • Element Best Practices
    • Element Interface

Other

  • Objects Initialization
  • Visual Comparison
  • Kitchen Sink
    • Locator dataclass
    • Locator Type Constants
    • Driver dataclass
    • Size dataclass
    • Box dataclass
    • Location dataclass
    • Scrolls constants

Development

  • Mops Changelog

Project Links

  • GitHub
  • PyPI
Back to top
View this page

Size dataclass¶

class mops.mixins.objects.size.Size(width: int | float | None = None, height: int | float | None = None)[source]¶

Represents the dimensions of an object with width and height.

width: int | float | None = None¶
height: int | float | None = None¶
Next
Box dataclass
Previous
Driver dataclass
Copyright © 2026, Podolian Vladimir
Made with Sphinx and @pradyunsg's Furo
On this page
  • Size dataclass
    • Size
      • Size.width
      • Size.height