- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QPainter.RenderHints>
- Enclosing class:
QPainter
public static final class QPainter.RenderHints
extends QFlags<QPainter.RenderHint>
implements Comparable<QPainter.RenderHints>
QFlags
type for enum QPainter.RenderHint
- See Also:
-
Constructor Summary
ConstructorDescriptionRenderHints
(int value) Creates a new RenderHints with givenvalue
.RenderHints
(QPainter.RenderHint ... args) Creates a new RenderHints where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QPainter.RenderHints
clone()
Clones the flagsfinal QPainter.RenderHints
Combines this flags with enum entry.final int
compareTo
(QPainter.RenderHints other) final QPainter.RenderHint []
flags()
Returns an array of flag objects represented by this RenderHints.final QPainter.RenderHints
Sets the flage
final QPainter.RenderHints
setFlag
(QPainter.RenderHint e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
RenderHints
Creates a new RenderHints where the flags inargs
are set.- Parameters:
args
- enum entries
-
RenderHints
public RenderHints(int value) Creates a new RenderHints with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QPainter.RenderHint>
- Parameters:
e
- enum entry- Returns:
- new RenderHints
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QPainter.RenderHint>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QPainter.RenderHint>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this RenderHints.- Overrides:
flags
in classQFlags<QPainter.RenderHint>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QPainter.RenderHint>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QPainter.RenderHints>
-