Interface OffsetRable
- All Superinterfaces:
Filter, RenderableImage
Adjusts the input images coordinate system by dx, dy.
-
Field Summary
Fields inherited from interface RenderableImage
HINTS_OBSERVED -
Method Summary
Modifier and TypeMethodDescriptionReturns the source to be offset.doubleGet the x offset.doubleGet the y offset.voidSets the source to be offset.voidsetXoffset(double dx) Set the x offset.voidsetYoffset(double dy) Set the y offset.Methods inherited from interface Filter
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampMethods inherited from interface RenderableImage
createDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic
-
Method Details
-
getSource
Filter getSource()Returns the source to be offset. -
setSource
-
setXoffset
void setXoffset(double dx) Set the x offset.- Parameters:
dx- the amount to offset in the x direction
-
getXoffset
double getXoffset()Get the x offset.- Returns:
- the amount to offset in the x direction
-
setYoffset
void setYoffset(double dy) Set the y offset.- Parameters:
dy- the amount to offset in the y direction
-
getYoffset
double getYoffset()Get the y offset.- Returns:
- the amount to offset in the y direction
-