java.lang.Object
io.qt.QtObject
io.qt.gui.QColorSpace
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Color space abstraction
Java wrapper for Qt's class QColorSpace
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QColorSpace::NamedColorSpacestatic enum
Java wrapper for Qt enum QColorSpace::Primariesstatic enum
Java wrapper for Qt enum QColorSpace::TransferFunctionNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionQColorSpace
(QPointF whitePoint, QPointF redPoint, QPointF greenPoint, QPointF bluePoint, QColorSpace.TransferFunction transferFunction) Overloaded constructor forQColorSpace(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QColorSpace.TransferFunction, float)
withgamma = 0.0f
.QColorSpace
(QPointF whitePoint, QPointF redPoint, QPointF greenPoint, QPointF bluePoint, QColorSpace.TransferFunction transferFunction, float gamma) QColorSpace
(QPointF whitePoint, QPointF redPoint, QPointF greenPoint, QPointF bluePoint, Collection<@QtPrimitiveType Short> transferFunctionTable) QColorSpace
(QPointF whitePoint, QPointF redPoint, QPointF greenPoint, QPointF bluePoint, Collection<@QtPrimitiveType Short> redTransferFunctionTable, Collection<@QtPrimitiveType Short> greenTransferFunctionTable, Collection<@QtPrimitiveType Short> blueTransferFunctionTable) QColorSpace
(QColorSpace colorSpace) QColorSpace
(QColorSpace.NamedColorSpace namedColorSpace) QColorSpace
(QColorSpace.Primaries primaries, float gamma) QColorSpace
(QColorSpace.Primaries primaries, QColorSpace.TransferFunction transferFunction) Overloaded constructor forQColorSpace(io.qt.gui.QColorSpace.Primaries, io.qt.gui.QColorSpace.TransferFunction, float)
withgamma = 0.0f
.QColorSpace
(QColorSpace.Primaries primaries, QColorSpace.TransferFunction transferFunction, float gamma) QColorSpace
(QColorSpace.Primaries primaries, Collection<@QtPrimitiveType Short> transferFunctionTable) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QColorSpace colorSpace) clone()
final String
final void
detach()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.static QColorSpace
fromIccProfile
(QByteArray iccProfile) final float
gamma()
int
hashCode()
final QByteArray
final boolean
isValid()
final QColorSpace.Primaries
void
readFrom
(QDataStream arg__1) final void
setDescription
(String description) final void
setPrimaries
(QPointF whitePoint, QPointF redPoint, QPointF greenPoint, QPointF bluePoint) final void
setPrimaries
(QColorSpace.Primaries primariesId) final void
setTransferFunction
(QColorSpace.TransferFunction transferFunction) Overloaded function forsetTransferFunction(io.qt.gui.QColorSpace.TransferFunction, float)
withgamma = 0.0f
.final void
setTransferFunction
(QColorSpace.TransferFunction transferFunction, float gamma) final void
setTransferFunction
(Collection<@QtPrimitiveType Short> transferFunctionTable) final void
setTransferFunctions
(Collection<@QtPrimitiveType Short> redTransferFunctionTable, Collection<@QtPrimitiveType Short> greenTransferFunctionTable, Collection<@QtPrimitiveType Short> blueTransferFunctionTable) final void
swap
(QColorSpace colorSpace) toString()
final QColorTransform
transformationToColorSpace
(QColorSpace colorspace) final QColorSpace
withTransferFunction
(QColorSpace.TransferFunction transferFunction) Overloaded function forwithTransferFunction(io.qt.gui.QColorSpace.TransferFunction, float)
withgamma = 0.0f
.final QColorSpace
withTransferFunction
(QColorSpace.TransferFunction transferFunction, float gamma) final QColorSpace
withTransferFunction
(Collection<@QtPrimitiveType Short> transferFunctionTable) final QColorSpace
withTransferFunctions
(Collection<@QtPrimitiveType Short> redTransferFunctionTable, Collection<@QtPrimitiveType Short> greenTransferFunctionTable, Collection<@QtPrimitiveType Short> blueTransferFunctionTable) void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QColorSpace
public QColorSpace() -
QColorSpace
-
QColorSpace
Overloaded constructor for
QColorSpace(io.qt.gui.QColorSpace.Primaries, io.qt.gui.QColorSpace.TransferFunction, float)
withgamma = 0.0f
. -
QColorSpace
public QColorSpace(QColorSpace.Primaries primaries, QColorSpace.TransferFunction transferFunction, float gamma) -
QColorSpace
public QColorSpace(QColorSpace.Primaries primaries, Collection<@QtPrimitiveType Short> transferFunctionTable) -
QColorSpace
-
QColorSpace
-
QColorSpace
public QColorSpace(QPointF whitePoint, QPointF redPoint, QPointF greenPoint, QPointF bluePoint, QColorSpace.TransferFunction transferFunction) Overloaded constructor for
QColorSpace(io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.core.QPointF, io.qt.gui.QColorSpace.TransferFunction, float)
withgamma = 0.0f
. -
QColorSpace
public QColorSpace(QPointF whitePoint, QPointF redPoint, QPointF greenPoint, QPointF bluePoint, QColorSpace.TransferFunction transferFunction, float gamma) -
QColorSpace
public QColorSpace(QPointF whitePoint, QPointF redPoint, QPointF greenPoint, QPointF bluePoint, Collection<@QtPrimitiveType Short> redTransferFunctionTable, Collection<@QtPrimitiveType Short> greenTransferFunctionTable, Collection<@QtPrimitiveType Short> blueTransferFunctionTable) -
QColorSpace
public QColorSpace(QPointF whitePoint, QPointF redPoint, QPointF greenPoint, QPointF bluePoint, Collection<@QtPrimitiveType Short> transferFunctionTable) -
QColorSpace
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
description
-
detach
-
gamma
-
iccProfile
-
isValid
-
writeTo
-
assign
-
readFrom
-
primaries
-
setDescription
-
setPrimaries
-
setPrimaries
@QtUninvokable public final void setPrimaries(QPointF whitePoint, QPointF redPoint, QPointF greenPoint, QPointF bluePoint) -
setTransferFunction
Overloaded function for
setTransferFunction(io.qt.gui.QColorSpace.TransferFunction, float)
withgamma = 0.0f
. -
setTransferFunction
@QtUninvokable public final void setTransferFunction(QColorSpace.TransferFunction transferFunction, float gamma) -
setTransferFunction
@QtUninvokable public final void setTransferFunction(Collection<@QtPrimitiveType Short> transferFunctionTable) -
setTransferFunctions
@QtUninvokable public final void setTransferFunctions(Collection<@QtPrimitiveType Short> redTransferFunctionTable, Collection<@QtPrimitiveType Short> greenTransferFunctionTable, Collection<@QtPrimitiveType Short> blueTransferFunctionTable) -
swap
-
transferFunction
-
transformationToColorSpace
-
withTransferFunction
@QtUninvokable public final QColorSpace withTransferFunction(QColorSpace.TransferFunction transferFunction) Overloaded function for
withTransferFunction(io.qt.gui.QColorSpace.TransferFunction, float)
withgamma = 0.0f
. -
withTransferFunction
@QtUninvokable public final QColorSpace withTransferFunction(QColorSpace.TransferFunction transferFunction, float gamma) -
withTransferFunction
@QtUninvokable public final QColorSpace withTransferFunction(Collection<@QtPrimitiveType Short> transferFunctionTable) -
withTransferFunctions
@QtUninvokable public final QColorSpace withTransferFunctions(Collection<@QtPrimitiveType Short> redTransferFunctionTable, Collection<@QtPrimitiveType Short> greenTransferFunctionTable, Collection<@QtPrimitiveType Short> blueTransferFunctionTable) -
fromIccProfile
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-