|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PadRable
Pads image to the given Rectangle (the rect may be smaller than the image in which case this is actually a crop). The rectangle is specified in the user coordinate system of this Renderable.
Field Summary |
---|
Fields inherited from interface java.awt.image.renderable.RenderableImage |
---|
HINTS_OBSERVED |
Method Summary | |
---|---|
PadMode |
getPadMode()
Get the current extension mode for pad |
Rectangle2D |
getPadRect()
Get the current rectangle for padding |
Filter |
getSource()
Returns the source to be padded |
void |
setPadMode(PadMode mode)
Set the current extension mode for pad |
void |
setPadRect(Rectangle2D rect)
Set the current rectangle for padding. |
void |
setSource(Filter src)
Sets the source to be padded |
Methods inherited from interface org.apache.batik.ext.awt.image.renderable.Filter |
---|
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp |
Methods inherited from interface java.awt.image.renderable.RenderableImage |
---|
createDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic |
Method Detail |
---|
Filter getSource()
void setSource(Filter src)
src
- image to offset.void setPadRect(Rectangle2D rect)
rect
- the new rectangle to use for pad.Rectangle2D getPadRect()
void setPadMode(PadMode mode)
mode
- the new pad modePadMode getPadMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |