Skip to content

MarkFrame

Base classes

Name Children Inherits
BaseModel
pydantic.main
!!! abstract "Usage Documentation"

⋔ Inheritance diagram

graph TD
  3620207746["models.MarkFrame"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3879467795 --> 3620207746
  2751680898 --> 3879467795

🛈 DocStrings

Bases: BaseModel

Pixel size the coordinates refer to (omit for normalized 0-1 coordinates).

Source code in src/framesheet/models.py
class MarkFrame(BaseModel):
    """Pixel size the coordinates refer to (omit for normalized 0-1 coordinates)."""

    model_config = ConfigDict(extra="forbid", strict=True)
    width: float = Field(gt=0)
    height: float = Field(gt=0)

:fa-brands-github: Show source on GitHub