Dela via


MediaOverlay Constructors

Definition

Overloads

MediaOverlay(MediaClip)

Initializes a new instance of the MediaOverlay class.

MediaOverlay(MediaClip, Rect, Double)

Initializes a new instance of the MediaOverlay class.

MediaOverlay(MediaClip)

Initializes a new instance of the MediaOverlay class.

public:
 MediaOverlay(MediaClip ^ clip);
 MediaOverlay(MediaClip const& clip);
public MediaOverlay(MediaClip clip);
function MediaOverlay(clip)
Public Sub New (clip As MediaClip)

Parameters

clip
MediaClip

The media clip to be used for the overlay.

See also

Applies to

MediaOverlay(MediaClip, Rect, Double)

Initializes a new instance of the MediaOverlay class.

public:
 MediaOverlay(MediaClip ^ clip, Rect position, double opacity);
 MediaOverlay(MediaClip const& clip, Rect const& position, double const& opacity);
public MediaOverlay(MediaClip clip, Rect position, double opacity);
function MediaOverlay(clip, position, opacity)
Public Sub New (clip As MediaClip, position As Rect, opacity As Double)

Parameters

clip
MediaClip

The media clip to be used for the overlay.

position
Rect

The position of the overlay.

opacity
Double

double

The opacity of the overlay, in the range of 0.0 to 1.0, where 0.0 is completely transparent and 1.0 is completely opaque.

See also

Applies to