MediaOverlay Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mewakili overlay yang dapat digunakan dalam komposisi media.
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
- Warisan
- Atribut
Persyaratan Windows
Rangkaian perangkat |
Windows 10 (diperkenalkan dalam 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)
|
Konstruktor
MediaOverlay(MediaClip, Rect, Double) |
Menginisialisasi instans baru kelas MediaOverlay . |
MediaOverlay(MediaClip) |
Menginisialisasi instans baru kelas MediaOverlay . |
Properti
AudioEnabled |
Mendapatkan atau menetapkan nilai yang menunjukkan apakah audio diaktifkan untuk MediaOverlay. |
Clip |
Mendapatkan klip media yang akan digunakan untuk overlay. |
Delay |
Mendapatkan atau mengatur rentang waktu dari awal klip setelah overlay media harus dirender. |
Opacity |
Mendapatkan tingkat keburaman overlay. |
Position |
Mendapatkan posisi overlay. |
Metode
Clone() |
Membuat objek MediaOverlay yang identik dengan instans ini. |