PythonQt.QtGui.QPixelFormat · declarations 001
Back to PythonQt.QtGui.QPixelFormat
AlphaPosition
instance-attribute
AlphaPosition: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
AlphaPremultiplied
instance-attribute
AlphaPremultiplied: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
AlphaUsage
instance-attribute
AlphaUsage: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
AtBeginning
instance-attribute
AtBeginning: Any
AtEnd
instance-attribute
AtEnd: Any
CMYK
instance-attribute
CMYK: Any
ColorModel
instance-attribute
ColorModel: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
CurrentSystemEndian
instance-attribute
CurrentSystemEndian: Any
FloatingPoint
instance-attribute
FloatingPoint: Any
Grayscale
instance-attribute
Grayscale: Any
HSL
instance-attribute
HSL: Any
HSV
instance-attribute
HSV: Any
IMC1
instance-attribute
IMC1: Any
IMC2
instance-attribute
IMC2: Any
IMC3
instance-attribute
IMC3: Any
IMC4
instance-attribute
IMC4: Any
IgnoresAlpha
instance-attribute
IgnoresAlpha: Any
Indexed
instance-attribute
Indexed: Any
NV12
instance-attribute
NV12: Any
NV21
instance-attribute
NV21: Any
NotPremultiplied
instance-attribute
NotPremultiplied: Any
Premultiplied
instance-attribute
Premultiplied: Any
TypeInterpretation
instance-attribute
TypeInterpretation: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
UYVY
instance-attribute
UYVY: Any
UnsignedByte
instance-attribute
UnsignedByte: Any
UnsignedInteger
instance-attribute
UnsignedInteger: Any
UnsignedShort
instance-attribute
UnsignedShort: Any
UsesAlpha
instance-attribute
UsesAlpha: Any
Y16
instance-attribute
Y16: Any
Y8
instance-attribute
Y8: Any
YUV
instance-attribute
YUV: Any
YUV411
instance-attribute
YUV411: Any
YUV420P
instance-attribute
YUV420P: Any
YUV420SP
instance-attribute
YUV420SP: Any
YUV422
instance-attribute
YUV422: Any
YUV444
instance-attribute
YUV444: Any
YUVLayout
instance-attribute
YUVLayout: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
YUYV
instance-attribute
YUYV: Any
YV12
instance-attribute
YV12: Any
alphaPosition
alphaPosition() -> Any
X.alphaPosition()
Supplemental documentation: Qt 5 reference:
QPixelFormat::AlphaPosition QPixelFormat::alphaPosition() const
Accessor function for alphaPosition.
Upstream PySide2 reference signatures (binding differences may apply):
alphaPosition(self) -> PySide2.QtGui.QPixelFormat.AlphaPosition
Source: https://doc.qt.io/archives/qt-5.15/qpixelformat.html#alphaPosition