ISize
- class ISize
Methods
Overloaded function.
Returns true if either width or height are <= 0.
Returns true iff fWidth == 0 && fHeight == 0.
Set the width and height to 0.
Attributes
Methods
- static ISize.Make(width: int, height: int) skia.ISize
- static ISize.MakeEmpty() skia.ISize
- ISize.__init__(*args, **kwargs)
Overloaded function.
__init__(self: skia.ISize) -> None
__init__(self: skia.ISize, width: int, height: int) -> None
__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