MediaOverlay 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示可在媒體組合中使用的重迭。
public ref class MediaOverlay sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Editing.IMediaOverlayFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.GCPressure]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaOverlay final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.GCPressure]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Editing.IMediaOverlayFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class MediaOverlay final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Editing.IMediaOverlayFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.GCPressure]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaOverlay
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.GCPressure]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Editing.IMediaOverlayFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class MediaOverlay
function MediaOverlay(clip, position, opacity)
Public NotInheritable Class MediaOverlay
- 繼承
- 屬性
Windows 需求
裝置系列 |
Windows 10 (已於 10.0.10240.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
|
建構函式
MediaOverlay(MediaClip, Rect, Double) |
初始化 MediaOverlay 類別的新實例。 |
MediaOverlay(MediaClip) |
初始化 MediaOverlay 類別的新實例。 |
屬性
AudioEnabled |
取得或設定值,指出是否啟用 MediaOverlay的音訊。 |
Clip |
取得要用於重迭的媒體剪輯。 |
Delay |
取得或設定從剪輯開始的時間範圍,之後應該轉譯媒體重迭。 |
Opacity |
取得重迭的不透明度。 |
Position |
取得重迭的位置。 |
方法
Clone() |
建立與這個實例相同的 MediaOverlay 物件。 |