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 对象。 |