BitmovinApiSdk\Models\ScaleFilter
Synopsis
class ScaleFilter
extends Filter
{
- // members
- public int $width;
- public int $height;
- public ScalingAlgorithm $scalingAlgorithm;
- public int $sampleAspectRatioNumerator;
- public int $sampleAspectRatioDenominator;
- // Inherited members from Filter
- public static string $discriminatorName;
- public static array $discriminatorMapping;
- // Inherited members from BitmovinResource
- public string $name;
- public string $description;
- public Carbon $createdAt;
- public Carbon $modifiedAt;
- public mixed $customData;
- // Inherited members from BitmovinResponse
- public string $id;
- // methods
- public void __construct()
- public $this width()
- public $this height()
- public $this scalingAlgorithm()
- public $this sampleAspectRatioNumerator()
- public $this sampleAspectRatioDenominator()
- // Inherited methods from Filter
- public void __construct()
- // Inherited methods from BitmovinResource
- public void __construct()
- public $this name()
- public $this description()
- public $this customData()
- // Inherited methods from BitmovinResponse
- public void __construct()
- // Inherited methods from ApiResource
- public void __construct()
- public static $this create()
- public void toArray()
Hierarchy
Extends
Members
public
- $createdAt — Carbon\Carbon
- $customData — mixed
- $description — string
- $discriminatorMapping
- $discriminatorName
- $height — int
- $id — string
- $modifiedAt — Carbon\Carbon
- $name — string
- $sampleAspectRatioDenominator — int
- $sampleAspectRatioNumerator — int
- $scalingAlgorithm — BitmovinApiSdk\Models\ScalingAlgorithm
- $width — int
Methods
public
- __construct()
- height() — The height of the output frame in pixels. If not set it will be based on the configured width by maintaining the original aspect ratio. If width is also not set, the original source dimensions will be applied.
- sampleAspectRatioDenominator() — The denominator of the sample aspect ratio (also known as pixel aspect ratio). Must be set if sampleAspectRatioNumerator is set.
- sampleAspectRatioNumerator() — The numerator of the sample aspect ratio (also known as pixel aspect ratio). Must be set if sampleAspectRatioDenominator is set.
- scalingAlgorithm() — scalingAlgorithm
- width() — The width of the output frame in pixels. If not set it will be based on the configured height by maintaining the original aspect ratio. If height is also not set, the original source dimensions will be applied.
Inherited from BitmovinApiSdk\Models\BitmovinResource
public
- customData() — User-specific meta data. This can hold anything.
- description() — Description of the resource. Can be freely chosen by the user.
- name() — Name of the resource. Can be freely chosen by the user.