Module io.sf.carte.echosvg.awt
Interface PadRable
- All Superinterfaces:
- Filter,- RenderableImage
- All Known Implementing Classes:
- PadRable8Bit
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 SummaryFields inherited from interface java.awt.image.renderable.RenderableImageHINTS_OBSERVED
- 
Method SummaryModifier and TypeMethodDescriptionGet the current extension mode for padGet the current rectangle for paddingReturns the source to be paddedvoidsetPadMode(PadMode mode) Set the current extension mode for padvoidsetPadRect(Rectangle2D rect) Set the current rectangle for padding.voidSets the source to be paddedMethods inherited from interface io.sf.carte.echosvg.ext.awt.image.renderable.FiltergetBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampMethods inherited from interface java.awt.image.renderable.RenderableImagecreateDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic
- 
Method Details- 
getSourceFilter getSource()Returns the source to be padded
- 
setSourceSets the source to be padded- Parameters:
- src- image to offset.
 
- 
setPadRectSet the current rectangle for padding.- Parameters:
- rect- the new rectangle to use for pad.
 
- 
getPadRectRectangle2D getPadRect()Get the current rectangle for padding- Returns:
- Rectangle currently in use for pad.
 
- 
setPadModeSet the current extension mode for pad- Parameters:
- mode- the new pad mode
 
- 
getPadModePadMode getPadMode()Get the current extension mode for pad- Returns:
- Mode currently in use for pad
 
 
-