public class Transformation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.Object |
defaultDPR |
protected static boolean |
defaultIsResponsive |
protected boolean |
hiDPI |
protected java.lang.String |
htmlHeight |
protected java.lang.String |
htmlWidth |
protected boolean |
isResponsive |
protected static java.util.Map |
responsiveWidthTransformation |
protected java.util.Map |
transformation |
protected java.util.List<java.util.Map> |
transformations |
Constructor and Description |
---|
Transformation() |
Transformation(java.util.List<java.util.Map> transformations) |
Transformation(Transformation transformation) |
Modifier and Type | Method and Description |
---|---|
Transformation |
angle(int value) |
Transformation |
angle(java.lang.String... value) |
Transformation |
aspectRatio(double value) |
Transformation |
aspectRatio(int nom,
int denom) |
Transformation |
aspectRatio(java.lang.String value) |
Transformation |
audioCodec(java.lang.String value) |
Transformation |
audioFrequency(int value) |
Transformation |
audioFrequency(java.lang.String value) |
Transformation |
background(java.lang.String value) |
Transformation |
bitRate(int value) |
Transformation |
bitRate(java.lang.String value) |
Transformation |
border(int width,
java.lang.String color) |
Transformation |
border(java.lang.String value) |
Transformation |
chain() |
Transformation |
chainWith(Transformation transformation) |
Transformation |
color(java.lang.String value) |
Transformation |
colorSpace(java.lang.String value) |
Transformation |
crop(java.lang.String value) |
Transformation |
defaultImage(java.lang.String value) |
Transformation |
delay(java.lang.Object value) |
Transformation |
density(java.lang.Object value) |
Transformation |
dpr(float value) |
Transformation |
dpr(int value) |
Transformation |
dpr(java.lang.String value) |
Transformation |
duration(double value) |
Transformation |
duration(float value) |
Transformation |
duration(java.lang.String value) |
Transformation |
durationPercent(double value) |
Transformation |
durationPercent(float value) |
Transformation |
effect(java.lang.String value) |
Transformation |
effect(java.lang.String effect,
java.lang.Object param) |
Transformation |
endOffset(double value) |
Transformation |
endOffset(float value) |
Transformation |
endOffset(java.lang.String value) |
Transformation |
endOffsetPercent(double value) |
Transformation |
endOffsetPercent(float value) |
Transformation |
fetchFormat(java.lang.String value) |
Transformation |
flags(java.lang.String... value) |
java.lang.String |
generate() |
java.lang.String |
generate(java.lang.Iterable<java.util.Map> optionsList) |
java.lang.String |
generate(java.util.Map options) |
java.lang.String |
getHtmlHeight() |
java.lang.String |
getHtmlWidth() |
Transformation |
gravity(java.lang.String value) |
Transformation |
height(java.lang.Object value) |
boolean |
isHiDPI() |
boolean |
isResponsive() |
Transformation |
named(java.lang.String... value) |
Transformation |
offset(double[] value) |
Transformation |
offset(java.lang.Double[] value) |
Transformation |
offset(float[] value) |
Transformation |
offset(java.lang.Float[] value) |
Transformation |
offset(java.lang.Integer[] value) |
Transformation |
offset(java.lang.String value) |
Transformation |
offset(java.lang.String[] value) |
Transformation |
opacity(int value) |
Transformation |
overlay(AbstractLayerBuilder<?> value) |
Transformation |
overlay(java.lang.String value) |
Transformation |
page(java.lang.Object value) |
Transformation |
param(java.lang.String key,
java.lang.Object value) |
Transformation |
params(java.util.Map transformation) |
Transformation |
prefix(java.lang.String value) |
Transformation |
quality(java.lang.Object value) |
Transformation |
radius(java.lang.Object value) |
Transformation |
rawTransformation(java.lang.String value) |
Transformation |
responsiveWidth(boolean value) |
static void |
setDefaultDPR(java.lang.Object dpr) |
static void |
setDefaultIsResponsive(boolean isResponsive) |
static void |
setResponsiveWidthTransformation(java.util.Map transformation) |
Transformation |
startOffset(double value) |
Transformation |
startOffset(float value) |
Transformation |
startOffset(java.lang.String value) |
Transformation |
startOffsetPercent(double value) |
Transformation |
startOffsetPercent(float value) |
Transformation |
underlay(AbstractLayerBuilder<?> value) |
Transformation |
underlay(java.lang.String value) |
Transformation |
videoCodec(java.util.Map<java.lang.String,java.lang.String> value) |
Transformation |
videoCodec(java.lang.String value) |
Transformation |
videoSampling(java.lang.String value) |
Transformation |
videoSamplingFrames(int value) |
Transformation |
videoSamplingSeconds(double value) |
Transformation |
videoSamplingSeconds(java.lang.Double value) |
Transformation |
videoSamplingSeconds(float value) |
Transformation |
videoSamplingSeconds(java.lang.Float value) |
Transformation |
videoSamplingSeconds(int value) |
Transformation |
videoSamplingSeconds(java.lang.Integer value) |
Transformation |
width(java.lang.Object value) |
Transformation |
x(java.lang.Object value) |
Transformation |
y(java.lang.Object value) |
Transformation |
zoom(double value) |
Transformation |
zoom(float value) |
Transformation |
zoom(java.lang.String value) |
protected java.util.Map transformation
protected java.util.List<java.util.Map> transformations
protected java.lang.String htmlWidth
protected java.lang.String htmlHeight
protected boolean hiDPI
protected boolean isResponsive
protected static boolean defaultIsResponsive
protected static java.lang.Object defaultDPR
protected static java.util.Map responsiveWidthTransformation
public Transformation(Transformation transformation)
public Transformation(java.util.List<java.util.Map> transformations)
public Transformation()
public Transformation width(java.lang.Object value)
public Transformation height(java.lang.Object value)
public Transformation named(java.lang.String... value)
public Transformation crop(java.lang.String value)
public Transformation background(java.lang.String value)
public Transformation color(java.lang.String value)
public Transformation effect(java.lang.String value)
public Transformation effect(java.lang.String effect, java.lang.Object param)
public Transformation angle(int value)
public Transformation angle(java.lang.String... value)
public Transformation border(java.lang.String value)
public Transformation border(int width, java.lang.String color)
public Transformation x(java.lang.Object value)
public Transformation y(java.lang.Object value)
public Transformation radius(java.lang.Object value)
public Transformation quality(java.lang.Object value)
public Transformation defaultImage(java.lang.String value)
public Transformation gravity(java.lang.String value)
public Transformation colorSpace(java.lang.String value)
public Transformation prefix(java.lang.String value)
public Transformation overlay(java.lang.String value)
public Transformation overlay(AbstractLayerBuilder<?> value)
public Transformation underlay(java.lang.String value)
public Transformation underlay(AbstractLayerBuilder<?> value)
public Transformation fetchFormat(java.lang.String value)
public Transformation density(java.lang.Object value)
public Transformation page(java.lang.Object value)
public Transformation delay(java.lang.Object value)
public Transformation opacity(int value)
public Transformation rawTransformation(java.lang.String value)
public Transformation flags(java.lang.String... value)
public Transformation dpr(float value)
public Transformation dpr(int value)
public Transformation dpr(java.lang.String value)
public Transformation duration(java.lang.String value)
public Transformation duration(float value)
public Transformation duration(double value)
public Transformation durationPercent(float value)
public Transformation durationPercent(double value)
public Transformation startOffset(java.lang.String value)
public Transformation startOffset(float value)
public Transformation startOffset(double value)
public Transformation startOffsetPercent(float value)
public Transformation startOffsetPercent(double value)
public Transformation endOffset(java.lang.String value)
public Transformation endOffset(float value)
public Transformation endOffset(double value)
public Transformation endOffsetPercent(float value)
public Transformation endOffsetPercent(double value)
public Transformation offset(java.lang.String value)
public Transformation offset(java.lang.String[] value)
public Transformation offset(float[] value)
public Transformation offset(double[] value)
public Transformation offset(java.lang.Integer[] value)
public Transformation offset(java.lang.Double[] value)
public Transformation offset(java.lang.Float[] value)
public Transformation videoCodec(java.lang.String value)
public Transformation videoCodec(java.util.Map<java.lang.String,java.lang.String> value)
public Transformation audioCodec(java.lang.String value)
public Transformation audioFrequency(java.lang.String value)
public Transformation audioFrequency(int value)
public Transformation bitRate(java.lang.String value)
public Transformation bitRate(int value)
public Transformation videoSampling(java.lang.String value)
public Transformation videoSamplingFrames(int value)
public Transformation videoSamplingSeconds(java.lang.Integer value)
public Transformation videoSamplingSeconds(java.lang.Float value)
public Transformation videoSamplingSeconds(java.lang.Double value)
public Transformation videoSamplingSeconds(int value)
public Transformation videoSamplingSeconds(float value)
public Transformation videoSamplingSeconds(double value)
public Transformation zoom(java.lang.String value)
public Transformation zoom(float value)
public Transformation zoom(double value)
public Transformation aspectRatio(double value)
public Transformation aspectRatio(java.lang.String value)
public Transformation aspectRatio(int nom, int denom)
public Transformation responsiveWidth(boolean value)
public boolean isResponsive()
public boolean isHiDPI()
public Transformation params(java.util.Map transformation)
public Transformation chain()
public Transformation chainWith(Transformation transformation)
public Transformation param(java.lang.String key, java.lang.Object value)
public java.lang.String generate()
public java.lang.String generate(java.lang.Iterable<java.util.Map> optionsList)
public java.lang.String generate(java.util.Map options)
public java.lang.String getHtmlWidth()
public java.lang.String getHtmlHeight()
public static void setResponsiveWidthTransformation(java.util.Map transformation)
public static void setDefaultIsResponsive(boolean isResponsive)
public static void setDefaultDPR(java.lang.Object dpr)