- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QPainter.CompositionMode>
,Constable
- Enclosing class:
QPainter
Java wrapper for Qt enum QPainter::CompositionMode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQPainter::
CompositionMode_Clear RepresentingQPainter::
CompositionMode_ColorBurn RepresentingQPainter::
CompositionMode_ColorDodge RepresentingQPainter::
CompositionMode_Darken RepresentingQPainter::
CompositionMode_Destination RepresentingQPainter::
CompositionMode_DestinationAtop RepresentingQPainter::
CompositionMode_DestinationIn RepresentingQPainter::
CompositionMode_DestinationOut RepresentingQPainter::
CompositionMode_DestinationOver RepresentingQPainter::
CompositionMode_Difference RepresentingQPainter::
CompositionMode_Exclusion RepresentingQPainter::
CompositionMode_HardLight RepresentingQPainter::
CompositionMode_Lighten RepresentingQPainter::
CompositionMode_Multiply RepresentingQPainter::
CompositionMode_Overlay RepresentingQPainter::
CompositionMode_Plus RepresentingQPainter::
CompositionMode_Screen RepresentingQPainter::
CompositionMode_SoftLight RepresentingQPainter::
CompositionMode_Source RepresentingQPainter::
CompositionMode_SourceAtop RepresentingQPainter::
CompositionMode_SourceIn RepresentingQPainter::
CompositionMode_SourceOut RepresentingQPainter::
CompositionMode_SourceOver RepresentingQPainter::
CompositionMode_Xor RepresentingQPainter::
RasterOp_ClearDestination RepresentingQPainter::
RasterOp_NotDestination RepresentingQPainter::
RasterOp_NotSource RepresentingQPainter::
RasterOp_NotSourceAndDestination RepresentingQPainter::
RasterOp_NotSourceAndNotDestination RepresentingQPainter::
RasterOp_NotSourceOrDestination RepresentingQPainter::
RasterOp_NotSourceOrNotDestination RepresentingQPainter::
RasterOp_NotSourceXorDestination RepresentingQPainter::
RasterOp_SetDestination RepresentingQPainter::
RasterOp_SourceAndDestination RepresentingQPainter::
RasterOp_SourceAndNotDestination RepresentingQPainter::
RasterOp_SourceOrDestination RepresentingQPainter::
RasterOp_SourceOrNotDestination RepresentingQPainter::
RasterOp_SourceXorDestination -
Method Summary
Modifier and TypeMethodDescriptionstatic QPainter.CompositionMode
resolve
(int value) Returns the corresponding enum entry for the given value.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.static QPainter.CompositionMode
Returns the enum constant of this type with the specified name.static QPainter.CompositionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.qt.QtAbstractEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
CompositionMode_SourceOver
Representing
QPainter::
CompositionMode_SourceOver -
CompositionMode_DestinationOver
Representing
QPainter::
CompositionMode_DestinationOver -
CompositionMode_Clear
Representing
QPainter::
CompositionMode_Clear -
CompositionMode_Source
Representing
QPainter::
CompositionMode_Source -
CompositionMode_Destination
Representing
QPainter::
CompositionMode_Destination -
CompositionMode_SourceIn
Representing
QPainter::
CompositionMode_SourceIn -
CompositionMode_DestinationIn
Representing
QPainter::
CompositionMode_DestinationIn -
CompositionMode_SourceOut
Representing
QPainter::
CompositionMode_SourceOut -
CompositionMode_DestinationOut
Representing
QPainter::
CompositionMode_DestinationOut -
CompositionMode_SourceAtop
Representing
QPainter::
CompositionMode_SourceAtop -
CompositionMode_DestinationAtop
Representing
QPainter::
CompositionMode_DestinationAtop -
CompositionMode_Xor
Representing
QPainter::
CompositionMode_Xor -
CompositionMode_Plus
Representing
QPainter::
CompositionMode_Plus -
CompositionMode_Multiply
Representing
QPainter::
CompositionMode_Multiply -
CompositionMode_Screen
Representing
QPainter::
CompositionMode_Screen -
CompositionMode_Overlay
Representing
QPainter::
CompositionMode_Overlay -
CompositionMode_Darken
Representing
QPainter::
CompositionMode_Darken -
CompositionMode_Lighten
Representing
QPainter::
CompositionMode_Lighten -
CompositionMode_ColorDodge
Representing
QPainter::
CompositionMode_ColorDodge -
CompositionMode_ColorBurn
Representing
QPainter::
CompositionMode_ColorBurn -
CompositionMode_HardLight
Representing
QPainter::
CompositionMode_HardLight -
CompositionMode_SoftLight
Representing
QPainter::
CompositionMode_SoftLight -
CompositionMode_Difference
Representing
QPainter::
CompositionMode_Difference -
CompositionMode_Exclusion
Representing
QPainter::
CompositionMode_Exclusion -
RasterOp_SourceOrDestination
Representing
QPainter::
RasterOp_SourceOrDestination -
RasterOp_SourceAndDestination
Representing
QPainter::
RasterOp_SourceAndDestination -
RasterOp_SourceXorDestination
Representing
QPainter::
RasterOp_SourceXorDestination -
RasterOp_NotSourceAndNotDestination
Representing
QPainter::
RasterOp_NotSourceAndNotDestination -
RasterOp_NotSourceOrNotDestination
Representing
QPainter::
RasterOp_NotSourceOrNotDestination -
RasterOp_NotSourceXorDestination
Representing
QPainter::
RasterOp_NotSourceXorDestination -
RasterOp_NotSource
Representing
QPainter::
RasterOp_NotSource -
RasterOp_NotSourceAndDestination
Representing
QPainter::
RasterOp_NotSourceAndDestination -
RasterOp_SourceAndNotDestination
Representing
QPainter::
RasterOp_SourceAndNotDestination -
RasterOp_NotSourceOrDestination
Representing
QPainter::
RasterOp_NotSourceOrDestination -
RasterOp_SourceOrNotDestination
Representing
QPainter::
RasterOp_SourceOrNotDestination -
RasterOp_ClearDestination
Representing
QPainter::
RasterOp_ClearDestination -
RasterOp_SetDestination
Representing
QPainter::
RasterOp_SetDestination -
RasterOp_NotDestination
Representing
QPainter::
RasterOp_NotDestination
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()This function should return an integer value for the enum values of the enumeration that implements this interface. Default isEnum.ordinal()
.- Specified by:
value
in interfaceQtEnumerator
-
resolve
Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
-