Table of Contents

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

handle VideoOverlayRectangleOwnedHandle

Properties

Handle

public VideoOverlayRectangleOwnedHandle Handle { get; }

Property Value

VideoOverlayRectangleOwnedHandle

Methods

Copy()

public VideoOverlayRectangle Copy()

Returns

VideoOverlayRectangle

Equals(VideoOverlayRectangle?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(VideoOverlayRectangle? other)

Parameters

other VideoOverlayRectangle

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetFlags()

public VideoOverlayFormatFlags GetFlags()

Returns

VideoOverlayFormatFlags

GetGType()

public static Type GetGType()

Returns

Type

GetGlobalAlpha()

public float GetGlobalAlpha()

Returns

float

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

Buffer

GetPixelsAyuv(VideoOverlayFormatFlags)

public Buffer GetPixelsAyuv(VideoOverlayFormatFlags flags)

Parameters

flags VideoOverlayFormatFlags

Returns

Buffer

GetPixelsRaw(VideoOverlayFormatFlags)

public Buffer GetPixelsRaw(VideoOverlayFormatFlags flags)

Parameters

flags VideoOverlayFormatFlags

Returns

Buffer

GetPixelsUnscaledArgb(VideoOverlayFormatFlags)

public Buffer GetPixelsUnscaledArgb(VideoOverlayFormatFlags flags)

Parameters

flags VideoOverlayFormatFlags

Returns

Buffer

GetPixelsUnscaledAyuv(VideoOverlayFormatFlags)

public Buffer GetPixelsUnscaledAyuv(VideoOverlayFormatFlags flags)

Parameters

flags VideoOverlayFormatFlags

Returns

Buffer

GetPixelsUnscaledRaw(VideoOverlayFormatFlags)

public Buffer GetPixelsUnscaledRaw(VideoOverlayFormatFlags flags)

Parameters

flags VideoOverlayFormatFlags

Returns

Buffer

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

renderX int
renderY int
renderWidth uint
renderHeight uint

Returns

bool

GetSeqnum()

public uint GetSeqnum()

Returns

uint

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 Buffer
renderX int
renderY int
renderWidth uint
renderHeight uint
flags VideoOverlayFormatFlags

Returns

VideoOverlayRectangle

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)

Parameters

renderX int
renderY int
renderWidth uint
renderHeight uint