- 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 ConstantsEnum ConstantDescriptionRepresenting QPainter::CompositionMode_ClearRepresenting QPainter::CompositionMode_ColorBurnRepresenting QPainter::CompositionMode_ColorDodgeRepresenting QPainter::CompositionMode_DarkenRepresenting QPainter::CompositionMode_DestinationRepresenting QPainter::CompositionMode_DestinationAtopRepresenting QPainter::CompositionMode_DestinationInRepresenting QPainter::CompositionMode_DestinationOutRepresenting QPainter::CompositionMode_DestinationOverRepresenting QPainter::CompositionMode_DifferenceRepresenting QPainter::CompositionMode_ExclusionRepresenting QPainter::CompositionMode_HardLightRepresenting QPainter::CompositionMode_LightenRepresenting QPainter::CompositionMode_MultiplyRepresenting QPainter::CompositionMode_OverlayRepresenting QPainter::CompositionMode_PlusRepresenting QPainter::CompositionMode_ScreenRepresenting QPainter::CompositionMode_SoftLightRepresenting QPainter::CompositionMode_SourceRepresenting QPainter::CompositionMode_SourceAtopRepresenting QPainter::CompositionMode_SourceInRepresenting QPainter::CompositionMode_SourceOutRepresenting QPainter::CompositionMode_SourceOverRepresenting QPainter::CompositionMode_XorRepresenting QPainter::RasterOp_ClearDestinationRepresenting QPainter::RasterOp_NotDestinationRepresenting QPainter::RasterOp_NotSourceRepresenting QPainter::RasterOp_NotSourceAndDestinationRepresenting QPainter::RasterOp_NotSourceAndNotDestinationRepresenting QPainter::RasterOp_NotSourceOrDestinationRepresenting QPainter::RasterOp_NotSourceOrNotDestinationRepresenting QPainter::RasterOp_NotSourceXorDestinationRepresenting QPainter::RasterOp_SetDestinationRepresenting QPainter::RasterOp_SourceAndDestinationRepresenting QPainter::RasterOp_SourceAndNotDestinationRepresenting QPainter::RasterOp_SourceOrDestinationRepresenting QPainter::RasterOp_SourceOrNotDestinationRepresenting QPainter::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.QtEnumerator
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
-