Class VideoOverlayRectangle
- Namespace
- GstVideo
- Assembly
- GstVideo-1.0.dll
public sealed class VideoOverlayRectangle : BoxedRecord, IEquatable<VideoOverlayRectangle>
- Inheritance
-
VideoOverlayRectangle
- Implements
- Inherited Members
Constructors
VideoOverlayRectangle(VideoOverlayRectangleOwnedHandle)
public VideoOverlayRectangle(VideoOverlayRectangleOwnedHandle handle)
Parameters
Properties
Handle
public VideoOverlayRectangleOwnedHandle Handle { get; }
Property Value
Methods
Copy()
public VideoOverlayRectangle Copy()
Returns
Equals(VideoOverlayRectangle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(VideoOverlayRectangle? other)
Parameters
other
VideoOverlayRectangleAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetFlags()
public VideoOverlayFormatFlags GetFlags()
Returns
GetGType()
public static Type GetGType()
Returns
GetGlobalAlpha()
public float GetGlobalAlpha()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetPixelsArgb(VideoOverlayFormatFlags)
public Buffer GetPixelsArgb(VideoOverlayFormatFlags flags)
Parameters
flags
VideoOverlayFormatFlags
Returns
GetPixelsAyuv(VideoOverlayFormatFlags)
public Buffer GetPixelsAyuv(VideoOverlayFormatFlags flags)
Parameters
flags
VideoOverlayFormatFlags
Returns
GetPixelsRaw(VideoOverlayFormatFlags)
public Buffer GetPixelsRaw(VideoOverlayFormatFlags flags)
Parameters
flags
VideoOverlayFormatFlags
Returns
GetPixelsUnscaledArgb(VideoOverlayFormatFlags)
public Buffer GetPixelsUnscaledArgb(VideoOverlayFormatFlags flags)
Parameters
flags
VideoOverlayFormatFlags
Returns
GetPixelsUnscaledAyuv(VideoOverlayFormatFlags)
public Buffer GetPixelsUnscaledAyuv(VideoOverlayFormatFlags flags)
Parameters
flags
VideoOverlayFormatFlags
Returns
GetPixelsUnscaledRaw(VideoOverlayFormatFlags)
public Buffer GetPixelsUnscaledRaw(VideoOverlayFormatFlags flags)
Parameters
flags
VideoOverlayFormatFlags
Returns
GetRenderRectangle(out int, out int, out uint, out uint)
public bool GetRenderRectangle(out int renderX, out int renderY, out uint renderWidth, out uint renderHeight)
Parameters
Returns
GetSeqnum()
public uint GetSeqnum()
Returns
NewRaw(Buffer, int, int, uint, uint, VideoOverlayFormatFlags)
public static VideoOverlayRectangle NewRaw(Buffer pixels, int renderX, int renderY, uint renderWidth, uint renderHeight, VideoOverlayFormatFlags flags)
Parameters
pixels
BufferrenderX
intrenderY
intrenderWidth
uintrenderHeight
uintflags
VideoOverlayFormatFlags
Returns
SetGlobalAlpha(float)
public void SetGlobalAlpha(float globalAlpha)
Parameters
globalAlpha
float
SetRenderRectangle(int, int, uint, uint)
public void SetRenderRectangle(int renderX, int renderY, uint renderWidth, uint renderHeight)