oak.transformation
Class ImageBorder
java.lang.Object
oak.transformation.ImageBorder
- All Implemented Interfaces:
- ImageTransformation
public class ImageBorder
- extends Object
- implements ImageTransformation
User: mlake Date: 12/9/11 Time: 5:09 PM
|
Constructor Summary |
ImageBorder(int borderPixels,
int color)
Add a border to an image with the width and color specified. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageBorder
public ImageBorder(int borderPixels,
int color)
- Add a border to an image with the width and color specified.
(This is handy when you need to scale images AND draw a border around them.)
- Parameters:
borderPixels - color -
transform
public android.graphics.Bitmap transform(android.graphics.Bitmap bitmap)
- Specified by:
transform in interface ImageTransformation
fingerprint
public String fingerprint()
- Specified by:
fingerprint in interface ImageTransformation
Copyright © 2011-2012. All Rights Reserved.