fgBrush
fontgate.fgBrush = class fgBrush(object)
Brush representation Constructors: fgBrush() - default fgBrush(fgBrush) - copy fgBrush(fgColor) - solid brush with selected color and default size (1, 0) fgBrush(fgColor, fgPoint) - solid brush with selected color and size
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 object as dictionary
- asTuple(...)
-
represent object as tuple
- isTransparent(...)
-
bool isTransparent() - return true if brush is transparent
Static methods
- transparent(...)
-
fgBrush transparent() - get transparent solid brush
Descriptors
- kind
-
('Empty'/'Solid'/'Gradient') brush type
- size
-
(fgPoint) brush size by x and y axis
- solid
-
(fgColor) brush color
Attributes
- __new__ = <built-in method __new__ of type object>
-
T.__new__(S, ...) -> a new object with type S, a subtype of T
asDict
- fontgate.fgBrush.asDict = asDict(...)
-
represent object as dictionary
asTuple
- fontgate.fgBrush.asTuple = asTuple(...)
-
represent object as tuple
black
- fontgate.fgBrush.black = black(...)
-
fgBrush black() - get black solid brush
isBlack
- fontgate.fgBrush.isBlack = isBlack(...)
-
bool isBlack() - return true if brush is black
isTransparent
- fontgate.fgBrush.isTransparent = isTransparent(...)
-
bool isTransparent() - return true if brush is transparent
kind
- fontgate.fgBrush.kind
-
('Empty'/'Solid'/'Gradient') brush type
size
- fontgate.fgBrush.size
-
(fgPoint) brush size by x and y axis
solid
- fontgate.fgBrush.solid
-
(fgColor) brush color
transparent
- fontgate.fgBrush.transparent = transparent(...)
-
fgBrush transparent() - get transparent solid brush