ISize

class ISize

Methods

Make

MakeEmpty

__init__

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

area

equals

height

isEmpty

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

isZero

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

set

setEmpty

Set the width and height to 0.

width

Attributes

fHeight

fWidth

Methods

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

__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