public class ScaleFilter extends Filter
Constructor and Description |
---|
ScaleFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getHeight()
The height of the output frame in pixels.
|
Integer |
getSampleAspectRatioDenominator()
The denominator of the sample aspect ratio (also known as pixel aspect ratio).
|
Integer |
getSampleAspectRatioNumerator()
The numerator of the sample aspect ratio (also known as pixel aspect ratio).
|
ScalingAlgorithm |
getScalingAlgorithm()
Get scalingAlgorithm
|
Integer |
getWidth()
The width of the output frame in pixels.
|
int |
hashCode() |
void |
setHeight(Integer height)
The height of the output frame in pixels.
|
void |
setSampleAspectRatioDenominator(Integer sampleAspectRatioDenominator)
The denominator of the sample aspect ratio (also known as pixel aspect ratio).
|
void |
setSampleAspectRatioNumerator(Integer sampleAspectRatioNumerator)
The numerator of the sample aspect ratio (also known as pixel aspect ratio).
|
void |
setScalingAlgorithm(ScalingAlgorithm scalingAlgorithm)
Set scalingAlgorithm
|
void |
setWidth(Integer width)
The width of the output frame in pixels.
|
String |
toString() |
getCreatedAt, getCustomData, getDescription, getModifiedAt, getName, putCustomDataItem, setCustomData, setDescription, setName
getId
public Integer getWidth()
public void setWidth(Integer width)
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.public Integer getHeight()
public void setHeight(Integer height)
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.public ScalingAlgorithm getScalingAlgorithm()
public void setScalingAlgorithm(ScalingAlgorithm scalingAlgorithm)
scalingAlgorithm
- public Integer getSampleAspectRatioNumerator()
public void setSampleAspectRatioNumerator(Integer sampleAspectRatioNumerator)
sampleAspectRatioNumerator
- The numerator of the sample aspect ratio (also known as pixel aspect ratio). Must be set if sampleAspectRatioDenominator is set.public Integer getSampleAspectRatioDenominator()
public void setSampleAspectRatioDenominator(Integer sampleAspectRatioDenominator)
sampleAspectRatioDenominator
- The denominator of the sample aspect ratio (also known as pixel aspect ratio). Must be set if sampleAspectRatioNumerator is set.Copyright © 2020. All rights reserved.