java.lang.Object
io.qt.QFlags<QVideoFrame.PaintOptions.PaintFlag>
io.qt.multimedia.QVideoFrame.PaintOptions.PaintFlags
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QVideoFrame.PaintOptions.PaintFlags>
- Enclosing class:
QVideoFrame.PaintOptions
public static final class QVideoFrame.PaintOptions.PaintFlags
extends QFlags<QVideoFrame.PaintOptions.PaintFlag>
implements Comparable<QVideoFrame.PaintOptions.PaintFlags>
QFlags type for enum
QVideoFrame.PaintOptions.PaintFlag
- See Also:
-
Constructor Summary
ConstructorDescriptionPaintFlags
(int value) Creates a new PaintFlags with givenvalue
.Creates a new PaintFlags where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
flags()
Returns an array of flag objects represented by this PaintFlags.Sets the flage
setFlag
(QVideoFrame.PaintOptions.PaintFlag e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
PaintFlags
Creates a new PaintFlags where the flags inargs
are set.- Parameters:
args
- enum entries
-
PaintFlags
public PaintFlags(int value) Creates a new PaintFlags with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QVideoFrame.PaintOptions.PaintFlag>
- Parameters:
e
- enum entry- Returns:
- new PaintFlags
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QVideoFrame.PaintOptions.PaintFlag>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QVideoFrame.PaintOptions.PaintFlags setFlag(QVideoFrame.PaintOptions.PaintFlag e, boolean on) Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QVideoFrame.PaintOptions.PaintFlag>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this PaintFlags.- Overrides:
flags
in classQFlags<QVideoFrame.PaintOptions.PaintFlag>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QVideoFrame.PaintOptions.PaintFlag>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QVideoFrame.PaintOptions.PaintFlags>
-