animator.skia.IPoint¶
- class animator.skia.IPoint¶
Bases:
pybind11_builtins.pybind11_object
- __init__(*args, **kwargs)¶
Overloaded function.
__init__(self: animator.skia.IPoint, t: tuple) -> None
Create an
IPoint
from a tuple of two integers.- param t
Tuple of two integers.
__init__(self: animator.skia.IPoint, x: int, y: int) -> None
Methods
Make
(x, y)__init__
(*args, **kwargs)Overloaded function.
equals
(self, x, y)isZero
(self)set
(self, x, y)x
(self)y
(self)Attributes
fX
fY
- static Make(x: int, y: int) animator.skia.IPoint ¶
- equals(self: animator.skia.IPoint, x: int, y: int) bool ¶
- isZero(self: animator.skia.IPoint) bool ¶
- set(self: animator.skia.IPoint, x: int, y: int) None ¶
- x(self: animator.skia.IPoint) int ¶
- y(self: animator.skia.IPoint) int ¶