Size

Overview

Size is a class in Aspose.Psd FOSS for Python.

This class declares 3 methods for Size objects in Python programs. Available methods include: __init__, empty, equals. Public members are accessible to any Python application after installing the Aspose.Psd FOSS for Python package. Properties: Empty, IsEmpty, height, is_empty, width.

Properties

NameTypeAccessDescription
is_emptyboolReadGets the is empty.
IsEmptyboolReadGets the is empty.
EmptyOptional["Size"]ReadGets the empty.
width``ReadGets the width.
height``ReadGets the height.

Methods

SignatureDescription
empty()Calls empty on this Size instance.
__init__(width: int, height: int)Calls init(width, height) on this Size instance.
equals(other) → boolCalls equals(other) on this Size instance.

See Also