Skip to content

common.v1#

zen_api.common.v1 #

Classes:

IntPoint dataclass #

IntPoint(x: int = betterproto.int32_field(1), y: int = betterproto.int32_field(2))

Bases: Message

Integer-based point.

Attributes:

  • x (int) –

    The coordinate X of a point.

  • y (int) –

    The coordinate Y of a point.

x class-attribute instance-attribute #

x: int = int32_field(1)

The coordinate X of a point.

y class-attribute instance-attribute #

y: int = int32_field(2)

The coordinate Y of a point.

IntSize dataclass #

IntSize(width: int = betterproto.int32_field(1), height: int = betterproto.int32_field(2))

Bases: Message

Integer-based size.

Attributes:

  • width (int) –

    The width.

  • height (int) –

    The height.

width class-attribute instance-attribute #

width: int = int32_field(1)

The width.

height class-attribute instance-attribute #

height: int = int32_field(2)

The height.

DoublePoint dataclass #

DoublePoint(x: float = betterproto.double_field(1), y: float = betterproto.double_field(2))

Bases: Message

Double-based point object.

Attributes:

  • x (float) –

    The coordinate X of a point.

  • y (float) –

    The coordinate Y of a point.

x class-attribute instance-attribute #

x: float = double_field(1)

The coordinate X of a point.

y class-attribute instance-attribute #

y: float = double_field(2)

The coordinate Y of a point.

DoubleSize dataclass #

DoubleSize(width: float = betterproto.double_field(1), height: float = betterproto.double_field(2))

Bases: Message

Double-based size.

Attributes:

  • width (float) –

    The width.

  • height (float) –

    The height.

width class-attribute instance-attribute #

width: float = double_field(1)

The width.

height class-attribute instance-attribute #

height: float = double_field(2)

The height.

DoubleFrame dataclass #

DoubleFrame(start_point: DoublePoint = betterproto.message_field(1), size: DoubleSize = betterproto.message_field(2))

Bases: Message

Double-based frame.

Attributes:

start_point class-attribute instance-attribute #

start_point: DoublePoint = message_field(1)

The start point.

size class-attribute instance-attribute #

size: DoubleSize = message_field(2)

The size.