ISize

class ISize

Methods

Make

Make(width: int, height: int) -> skia.ISize

MakeEmpty

MakeEmpty() -> skia.ISize

__init__

__init__(*args, **kwargs) Overloaded function.

area

area(self: skia.ISize) -> int

equals

equals(self: skia.ISize, width: int, height: int) -> bool

height

height(self: skia.ISize) -> int

isEmpty

isEmpty(self: skia.ISize) -> bool

isZero

isZero(self: skia.ISize) -> bool

set

set(self: skia.ISize, width: int, height: int) -> None

setEmpty

setEmpty(self: skia.ISize) -> None

width

width(self: skia.ISize) -> int

Attributes

fHeight

fWidth

Methods

static ISize.Make(width: int, height: int) skia.ISize
static ISize.MakeEmpty() skia.ISize
ISize.__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: skia.ISize) -> None

  2. __init__(self: skia.ISize, width: int, height: int) -> None

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

ISize.area(self: skia.ISize) int
ISize.equals(self: skia.ISize, width: int, height: int) bool
ISize.height(self: skia.ISize) int
ISize.isEmpty(self: skia.ISize) bool

Returns true if either width or height are <= 0.

ISize.isZero(self: skia.ISize) bool

Returns true iff fWidth == 0 && fHeight == 0.

ISize.set(self: skia.ISize, width: int, height: int) None
ISize.setEmpty(self: skia.ISize) None

Set the width and height to 0.

ISize.width(self: skia.ISize) int

Attributes

ISize.fHeight
ISize.fWidth