Package com.jhlabs.image
Class AbstractBufferedImageOp
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
- All Implemented Interfaces:
BufferedImageOp
,Cloneable
- Direct Known Subclasses:
ApplyMaskFilter
,BicubicScaleFilter
,BorderFilter
,BoxBlurFilter
,CompositeFilter
,CompoundFilter
,ConvolveFilter
,CropFilter
,FeedbackFilter
,FlipFilter
,GlintFilter
,GradientFilter
,GradientWipeFilter
,HalftoneFilter
,InterpolateFilter
,IteratedFilter
,KeyFilter
,LensBlurFilter
,MirrorFilter
,MotionBlurFilter
,MotionBlurOp
,PointFilter
,RenderTextFilter
,ScaleFilter
,ShadowFilter
,ShatterFilter
,SmartBlurFilter
,TileImageFilter
,TransformFilter
,TransitionFilter
,VariableBlurFilter
,WholeImageFilter
A convenience class which implements those methods of BufferedImageOp which are rarely changed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
createCompatibleDestImage
(BufferedImage src, ColorModel dstCM) getBounds2D
(BufferedImage src) getPoint2D
(Point2D srcPt, Point2D dstPt) int[]
getRGB
(BufferedImage image, int x, int y, int width, int height, int[] pixels) A convenience method for getting ARGB pixels from an image.void
setRGB
(BufferedImage image, int x, int y, int width, int height, int[] pixels) A convenience method for setting ARGB pixels in an image.Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.awt.image.BufferedImageOp
filter
-
Constructor Details
-
AbstractBufferedImageOp
public AbstractBufferedImageOp()
-
-
Method Details
-
createCompatibleDestImage
- Specified by:
createCompatibleDestImage
in interfaceBufferedImageOp
-
getBounds2D
- Specified by:
getBounds2D
in interfaceBufferedImageOp
-
getPoint2D
- Specified by:
getPoint2D
in interfaceBufferedImageOp
-
getRenderingHints
- Specified by:
getRenderingHints
in interfaceBufferedImageOp
-
getRGB
A convenience method for getting ARGB pixels from an image. This tries to avoid the performance penalty of BufferedImage.getRGB unmanaging the image. -
setRGB
A convenience method for setting ARGB pixels in an image. This tries to avoid the performance penalty of BufferedImage.setRGB unmanaging the image. -
clone
-