kigadgets.size

Module Contents

Classes

Size

class kigadgets.size.Size(width, height)

Bases: kigadgets.units.BaseUnitTuple

Inheritance diagram of kigadgets.size.Size
property native_obj
property width

Return the width of the size.

property height

Return the height of the size.

static build_from(t)
static native_from(t)
scale(x, y)

Scale this size by x horizontally, and y vertically.

scaled(x, y)

Return a new scaled point, scaling by x and y.