다음을 통해 공유


FadeOptions(TimeSpan, String) Constructor

Definition

Initializes a new instance of FadeOptions.

public FadeOptions (TimeSpan duration, string fadeColor);
new Azure.ResourceManager.Media.Models.FadeOptions : TimeSpan * string -> Azure.ResourceManager.Media.Models.FadeOptions
Public Sub New (duration As TimeSpan, fadeColor As String)

Parameters

duration
TimeSpan

The Duration of the fade effect in the video. The value can be in ISO 8601 format (For example, PT05S to fade In/Out a color during 5 seconds), or a frame count (For example, 10 to fade 10 frames from the start time), or a relative value to stream duration (For example, 10% to fade 10% of stream duration).

fadeColor
String

The Color for the fade In/Out. it can be on the CSS Level1 colors https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color_keywords or an RGB/hex value: e.g: rgb(255,0,0), 0xFF0000 or #FF0000.

Exceptions

fadeColor is null.

Applies to