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
ConstructorsConstructorDescriptionPaintFlags(int value) Creates a new PaintFlags with givenvalue.Creates a new PaintFlags where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intflags()Returns an array of flag objects represented by this PaintFlags.Sets the flagesetFlag(QVideoFrame.PaintOptions.PaintFlag e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
PaintFlags
Creates a new PaintFlags where the flags inargsare 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:
combinedin classQFlags<QVideoFrame.PaintOptions.PaintFlag>- Parameters:
e- enum entry- Returns:
- new PaintFlags
-
setFlag
Sets the flage- Overrides:
setFlagin 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:
setFlagin 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:
flagsin classQFlags<QVideoFrame.PaintOptions.PaintFlag>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QVideoFrame.PaintOptions.PaintFlag>
-
compareTo
- Specified by:
compareToin interfaceComparable<QVideoFrame.PaintOptions.PaintFlags>
-