|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.RenderTextFilter
public class RenderTextFilter
A filter which renders text onto an image.
| Constructor Summary | |
|---|---|
RenderTextFilter()
Construct a RenderTextFilter. |
|
RenderTextFilter(String text,
Font font,
Paint paint,
Composite composite,
AffineTransform transform)
Construct a RenderTextFilter. |
|
| Method Summary | |
|---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst)
|
Composite |
getComposite()
Get the composite with which to paint the text. |
Font |
getFont()
Get the font with which to paint the text. |
Paint |
getPaint()
Get the paint with which to paint the text. |
String |
getText()
Get the text to paint. |
AffineTransform |
getTransform()
Get the transform with which to paint the text. |
void |
setComposite(Composite composite)
Set the composite with which to paint the text. |
void |
setFont(Font font)
Set the font with which to paint the text. |
void |
setPaint(Paint paint)
Set the paint with which to paint the text. |
void |
setText(String text)
Set the text to paint. |
void |
setTransform(AffineTransform transform)
Set the transform with which to paint the text. |
| Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp |
|---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RenderTextFilter()
public RenderTextFilter(String text,
Font font,
Paint paint,
Composite composite,
AffineTransform transform)
text - the textfont - the font to use (may be null)paint - the paint (may be null)composite - the composite (may be null)transform - the transform (may be null)| Method Detail |
|---|
public void setText(String text)
text - the textgetText()public String getText()
setText(java.lang.String)public void setComposite(Composite composite)
composite - the compositegetComposite()public Composite getComposite()
setComposite(java.awt.Composite)public void setPaint(Paint paint)
paint - the paintgetPaint()public Paint getPaint()
setPaint(java.awt.Paint)public void setFont(Font font)
font - the fontgetFont()public Font getFont()
setFont(java.awt.Font)public void setTransform(AffineTransform transform)
transform - the transformgetTransform()public AffineTransform getTransform()
setTransform(java.awt.geom.AffineTransform)
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||