animator.skia.ISize

class animator.skia.ISize

Bases: pybind11_builtins.pybind11_object

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: animator.skia.ISize, t: tuple) -> None

    Create an ISize from a tuple of two integers.

    param t

    Tuple of two integers.

  2. __init__(self: animator.skia.ISize, w: int, h: int) -> None

  3. __init__(self: animator.skia.ISize) -> None

Methods

Make(w, h)

MakeEmpty()

__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

fHeight

fWidth

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