@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
47 lines (46 loc) • 1.32 kB
TypeScript
import Filter from './Filter';
import FilterType from './FilterType';
import PositionUnit from './PositionUnit';
/**
* @export
* @class CropFilter
*/
export declare class CropFilter extends Filter {
/**
* Discriminator property for Filter
* @type {string}
* @memberof CropFilter
*/
readonly type: FilterType;
/**
* Amount of pixels that will be cropped of the input video from the left side. Must be zero or a positive value.
* @type {number}
* @memberof CropFilter
*/
left?: number;
/**
* Amount of pixels that will be cropped of the input video from the right side. Must be zero or a positive value.
* @type {number}
* @memberof CropFilter
*/
right?: number;
/**
* Amount of pixels that will be cropped of the input video from the top. Must be zero or a positive value.
* @type {number}
* @memberof CropFilter
*/
top?: number;
/**
* Amount of pixels that will be cropped of the input video from the bottom. Must be zero or a positive value.
* @type {number}
* @memberof CropFilter
*/
bottom?: number;
/**
* @type {PositionUnit}
* @memberof CropFilter
*/
unit?: PositionUnit;
constructor(obj?: Partial<CropFilter>);
}
export default CropFilter;