retype.ui.painting

Functions

arcPixmap(w, h[, fg, thickness, style, ...])

ellipsePixmap(w, h[, fg, bg, thickness, style])

linePixmap(x2, y2[, colour, thickness, style])

Line from origin (0, 0) to (x2, y2)

rectPixmap(w, h[, fg, bg])

textPixmap(text, w, h, font[, fg, alignment])

Classes

Font(value)

An enumeration.

class retype.ui.painting.Font(value)[source]

Bases: Enum

An enumeration.

BOLD = 3
FIXED = 2
GENERAL = 1
classmethod bold()[source]
classmethod fixed()[source]
classmethod general()[source]
static systemfonts()[source]
toQFont()[source]
retype.ui.painting.arcPixmap(w, h, fg=<PyQt5.QtGui.QColor object>, thickness=2, style=1, start_angle=0, span_angle=2880, antialiasing=True, cap=16)[source]
retype.ui.painting.ellipsePixmap(w, h, fg=<PyQt5.QtGui.QColor object>, bg=<PyQt5.QtGui.QColor object>, thickness=2, style=1)[source]
retype.ui.painting.linePixmap(x2, y2, colour=<PyQt5.QtGui.QColor object>, thickness=2, style=1)[source]

Line from origin (0, 0) to (x2, y2)

retype.ui.painting.rectPixmap(w, h, fg=<PyQt5.QtGui.QColor object>, bg=<PyQt5.QtGui.QColor object>)[source]
retype.ui.painting.textPixmap(text, w, h, font, fg=<PyQt5.QtGui.QColor object>, alignment=4228)[source]