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
ConstructorsConstructorDescriptionCreates a new PaintFlags.PaintFlags
(int value) Creates a new PaintFlags with givenvalue
.PaintFlags
(QVideoFrame.PaintOptions.PaintFlag ... args) 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
final QVideoFrame.PaintOptions.PaintFlag []
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
final void
setValue
(int value) Sets the value of this QFlags.final int
value()
Returns the value of this QFlags.
-
Constructor Details
-
PaintFlags
public PaintFlags()Creates a new PaintFlags. -
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>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value
- new value
-