VideoFrame 建構函式

定義

多載

VideoFrame(BitmapPixelFormat, Int32, Int32)

初始化 VideoFrame 類別的新實例。

VideoFrame(BitmapPixelFormat, Int32, Int32, BitmapAlphaMode)

初始化 VideoFrame 類別的新實例。

VideoFrame(BitmapPixelFormat, Int32, Int32)

初始化 VideoFrame 類別的新實例。

public:
 VideoFrame(BitmapPixelFormat format, int width, int height);
 VideoFrame(BitmapPixelFormat const& format, int const& width, int const& height);
public VideoFrame(BitmapPixelFormat format, int width, int height);
function VideoFrame(format, width, height)
Public Sub New (format As BitmapPixelFormat, width As Integer, height As Integer)

參數

format
BitmapPixelFormat

視訊畫面的像素格式。

width
Int32

int

視訊框架的寬度,以圖元為單位。

height
Int32

int

視訊框架的高度,以圖元為單位。

另請參閱

適用於

VideoFrame(BitmapPixelFormat, Int32, Int32, BitmapAlphaMode)

初始化 VideoFrame 類別的新實例。

public:
 VideoFrame(BitmapPixelFormat format, int width, int height, BitmapAlphaMode alpha);
 VideoFrame(BitmapPixelFormat const& format, int const& width, int const& height, BitmapAlphaMode const& alpha);
public VideoFrame(BitmapPixelFormat format, int width, int height, BitmapAlphaMode alpha);
function VideoFrame(format, width, height, alpha)
Public Sub New (format As BitmapPixelFormat, width As Integer, height As Integer, alpha As BitmapAlphaMode)

參數

format
BitmapPixelFormat

視訊畫面的像素格式。

width
Int32

int

視訊框架的寬度,以圖元為單位。

height
Int32

int

視訊框架的高度,以圖元為單位。

alpha
BitmapAlphaMode

視訊畫面的 Alpha 模式。

另請參閱

適用於