java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QPixelFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QPixelFormat extends QtObject implements Cloneable
Class for describing different pixel layouts in graphics buffers
Java wrapper for Qt class QPixelFormat
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QPixelFormat.AlphaPosition
Java wrapper for Qt enum QPixelFormat::AlphaPositionstatic class
QPixelFormat.AlphaPremultiplied
Java wrapper for Qt enum QPixelFormat::AlphaPremultipliedstatic class
QPixelFormat.AlphaUsage
Java wrapper for Qt enum QPixelFormat::AlphaUsagestatic class
QPixelFormat.ByteOrder
Java wrapper for Qt enum QPixelFormat::ByteOrderstatic class
QPixelFormat.ColorModel
Java wrapper for Qt enum QPixelFormat::ColorModelstatic class
QPixelFormat.TypeInterpretation
Java wrapper for Qt enum QPixelFormat::TypeInterpretationstatic class
QPixelFormat.YUVLayout
Java wrapper for Qt enum QPixelFormat::YUVLayout -
Constructor Summary
-
Method Summary
Modifier and Type Method Description QPixelFormat.AlphaPosition
alphaPosition()
byte
alphaSize()
QPixelFormat.AlphaUsage
alphaUsage()
byte
bitsPerPixel()
byte
blackSize()
byte
blueSize()
byte
brightnessSize()
QPixelFormat.ByteOrder
byteOrder()
byte
channelCount()
QPixelFormat
clone()
QPixelFormat.ColorModel
colorModel()
byte
cyanSize()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.byte
greenSize()
int
hashCode()
byte
hueSize()
byte
lightnessSize()
byte
magentaSize()
QPixelFormat.AlphaPremultiplied
premultiplied()
byte
redSize()
byte
saturationSize()
byte
subEnum()
QPixelFormat.TypeInterpretation
typeInterpretation()
byte
yellowSize()
QPixelFormat.YUVLayout
yuvLayout()
-
Constructor Details
-
QPixelFormat
public QPixelFormat() -
QPixelFormat
public QPixelFormat(QPixelFormat.ColorModel colorModel, byte firstSize, byte secondSize, byte thirdSize, byte fourthSize, byte fifthSize, byte alphaSize, QPixelFormat.AlphaUsage alphaUsage, QPixelFormat.AlphaPosition alphaPosition, QPixelFormat.AlphaPremultiplied premultiplied, QPixelFormat.TypeInterpretation typeInterpretation, QPixelFormat.ByteOrder byteOrder)Overloaded constructor for
QPixelFormat(io.qt.gui.QPixelFormat.ColorModel, byte, byte, byte, byte, byte, byte, io.qt.gui.QPixelFormat.AlphaUsage, io.qt.gui.QPixelFormat.AlphaPosition, io.qt.gui.QPixelFormat.AlphaPremultiplied, io.qt.gui.QPixelFormat.TypeInterpretation, io.qt.gui.QPixelFormat.ByteOrder, byte)
withsubEnum = 0
. -
QPixelFormat
public QPixelFormat(QPixelFormat.ColorModel colorModel, byte firstSize, byte secondSize, byte thirdSize, byte fourthSize, byte fifthSize, byte alphaSize, QPixelFormat.AlphaUsage alphaUsage, QPixelFormat.AlphaPosition alphaPosition, QPixelFormat.AlphaPremultiplied premultiplied, QPixelFormat.TypeInterpretation typeInterpretation)with:
byteOrder = io.qt.gui.QPixelFormat.ByteOrder.CurrentSystemEndian
subEnum = 0
-
QPixelFormat
public QPixelFormat(QPixelFormat.ColorModel colorModel, byte firstSize, byte secondSize, byte thirdSize, byte fourthSize, byte fifthSize, byte alphaSize, QPixelFormat.AlphaUsage alphaUsage, QPixelFormat.AlphaPosition alphaPosition, QPixelFormat.AlphaPremultiplied premultiplied, QPixelFormat.TypeInterpretation typeInterpretation, QPixelFormat.ByteOrder byteOrder, byte subEnum) -
QPixelFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
alphaPosition
-
alphaSize
-
alphaUsage
-
bitsPerPixel
-
blackSize
-
blueSize
-
brightnessSize
-
byteOrder
-
channelCount
-
colorModel
-
cyanSize
-
greenSize
-
hueSize
-
lightnessSize
-
magentaSize
-
premultiplied
-
redSize
-
saturationSize
-
subEnum
-
typeInterpretation
-
yellowSize
-
yuvLayout
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-