P
- type of ParameterProviderpublic abstract class AbstractTextOverlay<P extends ParameterProvider<?>> extends Object implements ImageOperation<P>
Constructor and Description |
---|
AbstractTextOverlay() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
apply(BufferedImage source,
P filterParams) |
HorizontalAlignment |
getHorizontalAlign() |
protected abstract String |
getText(P params) |
TextRenderer |
getTextRenderer() |
TextStyle |
getTextStyle() |
VerticalAlignment |
getVerticalAlign() |
int |
getX() |
int |
getY() |
void |
setHorizontalAlign(HorizontalAlignment horizontalAlign) |
void |
setTextRenderer(TextRenderer textRenderer) |
void |
setTextStyle(TextStyle textStyle) |
void |
setVerticalAlign(VerticalAlignment verticalAlign) |
void |
setX(int x) |
void |
setY(int y) |
public BufferedImage apply(BufferedImage source, P filterParams)
apply
in interface ImageOperation<P extends ParameterProvider<?>>
public TextStyle getTextStyle()
public void setTextStyle(TextStyle textStyle)
public TextRenderer getTextRenderer()
public void setTextRenderer(TextRenderer textRenderer)
public HorizontalAlignment getHorizontalAlign()
public void setHorizontalAlign(HorizontalAlignment horizontalAlign)
public VerticalAlignment getVerticalAlign()
public void setVerticalAlign(VerticalAlignment verticalAlign)
public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.