Width and height of an array. More...
Functions | |
def | width (self) |
Array width in pixels. | |
def | height (self) |
Array height in pixels. | |
def | x (self) |
x coordinate of top-left corner | |
def | y (self) |
y coordinate of top-left corner | |
def | area (self) |
Returns the area of the image. More... | |
def | is_empty (self) |
Tests if the given Rect is empty (width or/and height is null) More... | |
def | contains (self, Rect target, proper=False) |
Tests if this Rect contains the <target> Rect. More... | |
def | is_contained (self, Rect target, proper=False) |
Tests if this Rect is contained inside the given <target> Rect. More... | |
Width and height of an array.
def area | ( | self | ) |
Returns the area of the image.
def is_empty | ( | self | ) |
Tests if the given Rect is empty (width or/and height is null)
def contains | ( | self, | |
Rect | target, | ||
proper = False |
|||
) |
def is_contained | ( | self, | |
Rect | target, | ||
proper = False |
|||
) |