BitmovinApiSdk\Models\EnhancedWatermarkFilter
Synopsis
class EnhancedWatermarkFilter
extends Filter
{
- // members
- public string $image;
- public float $left;
- public float $right;
- public float $top;
- public float $bottom;
- public PositionUnit $unit;
- public float $opacity;
- public float $width;
- public float $height;
- // 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 image()
- public $this left()
- public $this right()
- public $this top()
- public $this bottom()
- public $this unit()
- public $this opacity()
- public $this width()
- public $this height()
- // 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
- $bottom — float
- $createdAt — Carbon\Carbon
- $customData — mixed
- $description — string
- $discriminatorMapping
- $discriminatorName
- $height — float
- $id — string
- $image — string
- $left — float
- $modifiedAt — Carbon\Carbon
- $name — string
- $opacity — float
- $right — float
- $top — float
- $unit — BitmovinApiSdk\Models\PositionUnit
- $width — float
Methods
public
- __construct()
- bottom() — Distance from the bottom edge of the input video to the bottom edge of the watermark image. May not be set if 'top' is set.
- height() — Desired height of the watermark image, the unit of the parameter is specified separately by the parameter 'unit'. If both width and height are set the watermark size is fixed. If only one is set the aspect ratio of the image will be used to rescale it
- image() — URL of the file to be used as watermark image. Supported image formats: PNG, JPEG, BMP, GIF (required)
- left() — Distance from the left edge of the input video to the left edge of the watermark image. May not be set if 'right' is set.
- opacity() — Opacity to apply on the watermark image. Valid values are from 0.0 (completely transparent) to 1.0 (not transparent at all)
- right() — Distance from the right edge of the input video to the right edge of the watermark image . May not be set if 'left' is set.
- top() — Distance from the top edge of the input video to the top edge of the watermark image. May not be set if 'bottom' is set.
- unit() — unit
- width() — Desired width of the watermark image, the unit of the parameter is specified separately by the parameter 'unit'. If both width and height are set the watermark size is fixed. If only one is set the aspect ratio of the image will be used to rescale it
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.