Home | Trees | Indices | Help |
|
---|
|
object --+ | internals._Objectype --+ | baseTypes._Type0 --+ | Rect
Python Type, wrapping an ObjC NSRect_t.
Instance Methods | |||
|
|||
|
|||
Inherited from Inherited from |
Properties | |
bottom Get the lower y coordinate ( float or int ).
|
|
bottomleft Get the lower left (Point). |
|
lowerleft Get the lower left (Point). |
|
bottomright Get the lower right (Point). |
|
lowerright Get the lower right (Point). |
|
center Get the center (Point). |
|
height Get the height ( float ).
|
|
left Get the lower x coordinate ( float or int ).
|
|
origin Get the origin (Point, list , tuple or
NSPoint_t ).
|
|
ratio Get th aspect ratio as 2-tuple (width, height). |
|
rect Get x, y, width, height ( 4-tuple ).
|
|
rect4 Get left, bottom, right top ( 4-tuple ).
|
|
right Get the upper x coordinate ( float or int ).
|
|
size Get the size (Size). |
|
top Get the upper y coordinate ( float or int ).
|
|
topleft Get the upper left (Point). |
|
upperleft Get the upper left (Point). |
|
topright Get the upper right (Point). |
|
upperright Get the upper right (Point). |
|
width Get the width ( float or int ).
|
|
x Get the x coordinate ( float or int ).
|
|
y Get the y coordinate ( float or int ).
|
|
Inherited from Inherited from Inherited from |
Method Details |
New Rect
from another (Rect,
|
str(x)
|
Property Details |
bottomGet the lower y coordinate (
|
bottomleftGet the lower left (Point).
|
lowerleftGet the lower left (Point).
|
bottomrightGet the lower right (Point).
|
lowerrightGet the lower right (Point).
|
centerGet the center (Point).
|
heightGet the height (
|
leftGet the lower x coordinate (
|
originGet the origin (Point,
|
ratioGet th aspect ratio as 2-tuple (width, height).
|
rectGet x, y, width, height (
See Also:
Property |
rect4Get left, bottom, right top (
See Also:
Property |
rightGet the upper x coordinate (
|
sizeGet the size (Size). |
topGet the upper y coordinate (
|
topleftGet the upper left (Point).
|
upperleftGet the upper left (Point).
|
toprightGet the upper right (Point).
|
upperrightGet the upper right (Point).
|
widthGet the width (
|
xGet the x coordinate (
|
yGet the y coordinate (
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 8 11:26:16 2025 | http://epydoc.sourceforge.net |