Size
- class Size
Methods
Overloaded function.
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 Size.Make(*args, **kwargs)
Overloaded function.
Make(width: float, height: float) -> skia.Size
Make(isize: skia.ISize) -> skia.Size
- Size.__init__(*args, **kwargs)
Overloaded function.
__init__(self: skia.Size) -> None
__init__(self: skia.Size, width: float, height: float) -> None
__init__(self: skia.Size, isize: skia.ISize) -> None
__init__(self: skia.Size, t: tuple) -> None
- Size.toCeil(self: skia.Size) skia.ISize
- Size.toFloor(self: skia.Size) skia.ISize
- Size.toRound(self: skia.Size) skia.ISize
Attributes
- Size.fHeight
- Size.fWidth