fontgate.fgRect
fgRect
Rectangle representation
Constructors: fgRect() - default fgRect(fgRect) - copy fgRect(fgPoint, fgPoint) fgRect(fgPoint, fgPoint, bool empty) fgRect(float x1, float y1, float x2, float y2)
Math Operations: fgRect + fgPoint fgRect + fgRect fgRect + float fgRect - fgPoint fgRect - fgRect fgRect - float fgRect * float fgRect / float fgRect & fgRect fgRect | fgRect
Native bases: object
Captured native MRO: fgRect, object
Native new allocation evidence (not an init overload): (args, *kwargs) Create and return a new object. See help(type) for accurate signature.
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
__init__ |
function | (self, /, *args: Any, **kwargs: Any) -> None |
Initialize self. (shared captured text) |
_empty |
attribute | Any |
(bool) True if Rect is empty |
adjust |
function | (self, x1: float, y1: float, x2: float, y2: float) -> Any |
|
adjusted |
function | (self, x1: float, y1: float, x2: float, y2: float) -> fgRect |
|
asDict |
function | (self, *args: Any, **kwargs: Any) -> Any |
Represent Py::Object as dictionary |
asTuple |
function | (self, *args: Any, **kwargs: Any) -> Any |
Represent Py::Object as tuple |
assign |
function | (self, arg0: float, arg1: float, arg2: float, fix: Any=...) -> Any |
|
bottom |
function | (self) -> float |
|
center |
function | (self) -> fgPoint |
|
clear |
function | (self) -> Any |
(shared captured text) |
contains |
function | (self, *args: Any, **kwargs: Any) -> Any |
|
containsX |
function | (self, arg0: float) -> bool |
|
containsY |
function | (self, arg0: float) -> bool |
|
diagonal |
function | (self) -> float |
|
empty |
function | (self) -> Any |
|
fix |
function | (self) -> Any |
|
fix_x |
function | (self) -> Any |
|
fix_y |
function | (self) -> Any |
|
height |
function | (self) -> float |
|
intersects |
function | (self, arg0: fgRect) -> bool |
|
left |
function | (self) -> float |
|
ll |
attribute | Any |
(fgPoint) lower left point |
move |
function | (self, dx: float, dy: float) -> Any |
|
moved |
function | (self, dx: float, dy: float) -> fgRect |
|
right |
function | (self) -> float |
|
setBottom |
function | (self, arg0: float) -> Any |
|
setHeight |
function | (self, arg0: float) -> Any |
|
setLeft |
function | (self, arg0: float) -> Any |
|
setRect |
function | (self, x: int, y: int, w: int, h: int) -> Any |
|
setRight |
function | (self, arg0: float) -> Any |
|
setSize |
function | (self, arg0: fgPoint) -> Any |
|
setTop |
function | (self, arg0: float) -> Any |
|
setWidth |
function | (self, arg0: float) -> Any |
|
size |
function | (self) -> fgPoint |
|
top |
function | (self) -> float |
|
transform |
function | (self, arg0: fgMatrix) -> Any |
(shared captured text) |
transformed |
function | (self, arg0: fgMatrix) -> fgRect |
|
ur |
attribute | Any |
(fgPoint) upper right point |
width |
function | (self) -> float |
|
zero |
function | (self) -> Any |