fgRect
fontgate.fgRect = class fgRect(object)
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
Methods
- __delattr__(...)
-
x.__delattr__('name') <==> del x.name
- __delitem__(...)
-
x.__delitem__(y) <==> del x[y]
- __delslice__(...)
-
x.__delslice__(i, j) <==> del x[i:j] Use of negative indices is not supported.
- __getattribute__(...)
-
x.__getattribute__('name') <==> x.name
- __getitem__(...)
-
x.__getitem__(y) <==> x[y]
- __getslice__(...)
-
x.__getslice__(i, j) <==> x[i:j] Use of negative indices is not supported.
- __setattr__(...)
-
x.__setattr__('name', value) <==> x.name = value
- __setitem__(...)
-
x.__setitem__(i, y) <==> x[i]=y
- __setslice__(...)
-
x.__setslice__(i, j, y) <==> x[i:j]=y Use of negative indices is not supported.
- asDict(...)
-
represent Py::Object as dictionary
- asTuple(...)
-
represent Py::Object as tuple
- intersects(...)
-
bool intersects(fgRect)
- transformed(...)
-
fgRect transformed(fgMatrix)
Descriptors
- ll
-
(fgPoint) lower left point
- ur
-
(fgPoint) upper right point
Attributes
- __new__ = <built-in method __new__ of type object>
-
T.__new__(S, ...) -> a new object with type S, a subtype of T
adjust
- fontgate.fgRect.adjust = adjust(...)
-
adjust(float x1, float y1, float x2, float y2)
adjusted
- fontgate.fgRect.adjusted = adjusted(...)
-
fgRect adjusted(float x1, float y1, float x2, float y2)
asDict
- fontgate.fgRect.asDict = asDict(...)
-
represent Py::Object as dictionary
assign
- fontgate.fgRect.assign = assign(...)
-
assign(fgPoint, fgPoint[, fix=true]) or assign(float, float, float, float[, fix=true])
asTuple
- fontgate.fgRect.asTuple = asTuple(...)
-
represent Py::Object as tuple
bottom
- fontgate.fgRect.bottom = bottom(...)
-
float bottom()
center
- fontgate.fgRect.center = center(...)
-
fgPoint center()
clear
- fontgate.fgRect.clear = clear(...)
-
clear()
contains
- fontgate.fgRect.contains = contains(...)
-
bool contains(fgPoint) or bool contains(fgRect)
containsX
- fontgate.fgRect.containsX = containsX(...)
-
bool containsX(float)
containsY
- fontgate.fgRect.containsY = containsY(...)
-
bool containsY(float)
diagonal
- fontgate.fgRect.diagonal = diagonal(...)
-
float diagonal()
empty
- fontgate.fgRect.empty = empty(...)
-
empty()
fix
- fontgate.fgRect.fix = fix(...)
-
fix()
fix_x
- fontgate.fgRect.fix_x = fix_x(...)
-
fix_x()
fix_y
- fontgate.fgRect.fix_y = fix_y(...)
-
fix_y()
height
- fontgate.fgRect.height = height(...)
-
float height()
intersects
- fontgate.fgRect.intersects = intersects(...)
-
bool intersects(fgRect)
left
- fontgate.fgRect.left = left(...)
-
float left()
ll
- fontgate.fgRect.ll
-
(fgPoint) lower left point
move
- fontgate.fgRect.move = move(...)
-
move(float dx, float dy)
moved
- fontgate.fgRect.moved = moved(...)
-
fgRect moved(float dx, float dy)
right
- fontgate.fgRect.right = right(...)
-
float right()
setBottom
- fontgate.fgRect.setBottom = setBottom(...)
-
setBottom(float)
setHeight
- fontgate.fgRect.setHeight = setHeight(...)
-
setHeight(float)
setLeft
- fontgate.fgRect.setLeft = setLeft(...)
-
setLeft(float)
setRect
- fontgate.fgRect.setRect = setRect(...)
-
setRect(int x, int y, int w, int h)
setRight
- fontgate.fgRect.setRight = setRight(...)
-
setRight(float)
setSize
- fontgate.fgRect.setSize = setSize(...)
-
setSize(fgPoint)
setTop
- fontgate.fgRect.setTop = setTop(...)
-
setTop(float)
setWidth
- fontgate.fgRect.setWidth = setWidth(...)
-
setWidth(float)
size
- fontgate.fgRect.size = size(...)
-
fgPoint size()
top
- fontgate.fgRect.top = top(...)
-
float top()
transform
- fontgate.fgRect.transform = transform(...)
-
transform(fgMatrix)
transformed
- fontgate.fgRect.transformed = transformed(...)
-
fgRect transformed(fgMatrix)
ur
- fontgate.fgRect.ur
-
(fgPoint) upper right point
width
- fontgate.fgRect.width = width(...)
-
float width()
zero
- fontgate.fgRect.zero = zero(...)
-
zero()