animator.skia.ISize¶
- class animator.skia.ISize¶
Bases:
pybind11_builtins.pybind11_object- __init__(*args, **kwargs)¶
Overloaded function.
__init__(self: animator.skia.ISize, t: tuple) -> None
Create an
ISizefrom a tuple of two integers.- param t
Tuple of two integers.
__init__(self: animator.skia.ISize, w: int, h: int) -> None
__init__(self: animator.skia.ISize) -> None
Methods
Make(w, h)__init__(*args, **kwargs)Overloaded function.
area(self)equals(self, w, h)height(self)isEmpty(self)isZero(self)set(self, w, h)setEmpty(self)width(self)Attributes
fHeightfWidth- static Make(w: int, h: int) animator.skia.ISize¶
- static MakeEmpty() animator.skia.ISize¶
- area(self: animator.skia.ISize) int¶
- equals(self: animator.skia.ISize, w: int, h: int) bool¶
- height(self: animator.skia.ISize) int¶
- isEmpty(self: animator.skia.ISize) bool¶
- isZero(self: animator.skia.ISize) bool¶
- set(self: animator.skia.ISize, w: int, h: int) None¶
- setEmpty(self: animator.skia.ISize) None¶
- width(self: animator.skia.ISize) int¶