tbapi.api.interfaces.isize

 1from __future__ import annotations
 2from typing import TYPE_CHECKING
 3from tbapi.common.decorators import tb_interface
 4from tbapi.common.converters import to_python_datetime, to_net_datetime
 5from datetime import datetime
 6from Tickblaze.Scripts.Api.Interfaces import ISize as _ISize
 7from typing import Any, overload
 8from abc import ABC, abstractmethod
 9
10@tb_interface(_ISize)
11class ISize():
12    """Defines properties for the size, including height and width."""
13
14    @property
15    def height(self) -> float:
16        """The height of the size."""
17        val = self._value.Height
18        return val
19    @property
20    def width(self) -> float:
21        """The width of the size."""
22        val = self._value.Width
23        return val
@tb_interface(_ISize)
class ISize:
16@tb_interface(_ISize)
17class ISize():
18    """Defines properties for the size, including height and width."""
19
20    @property
21    def height(self) -> float:
22        """The height of the size."""
23        val = self._value.Height
24        return val
25    @property
26    def width(self) -> float:
27        """The width of the size."""
28        val = self._value.Width
29        return val

Defines properties for the size, including height and width.

ISize(*args, **kwargs)
199        def __init__(self, *args, **kwargs):
200            pass
height: float
20    @property
21    def height(self) -> float:
22        """The height of the size."""
23        val = self._value.Height
24        return val

The height of the size.

width: float
25    @property
26    def width(self) -> float:
27        """The width of the size."""
28        val = self._value.Width
29        return val

The width of the size.