Class PngLayer
java.lang.Object
com.azure.resourcemanager.mediaservices.models.Layer
com.azure.resourcemanager.mediaservices.models.PngLayer
Describes the settings to produce a PNG image from the input video.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withHeight
(String height) Set the height property: The height of the output video for this layer.Set the label property: The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file.Set the width property: The width of the output video for this layer.
-
Constructor Details
-
PngLayer
public PngLayer()Creates an instance of PngLayer class.
-
-
Method Details
-
withWidth
Set the width property: The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in width as the input. -
withHeight
Set the height property: The height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in height as the input.- Overrides:
withHeight
in classLayer
- Parameters:
height
- the height value to set.- Returns:
- the Layer object itself.
-
withLabel
Set the label property: The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file. -
validate
public void validate()Validates the instance.- Overrides:
validate
in classLayer
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-