All Packages Class Hierarchy This Package Previous Next Index
Class ca.bc.europa.awt.image.Buttonize
java.lang.Object
|
+----java.awt.image.ImageFilter
|
+----java.awt.image.RGBImageFilter
|
+----ca.bc.europa.awt.image.Buttonize
- public class Buttonize
- extends RGBImageFilter
The Buttonize
is an image filter that makes
an image look like a button.
- See Also:
- RGBImageFilter
-
Buttonize(int, int, boolean)
- Make a Buttonize filter with intensity = 30 and size = 10.
-
Buttonize(int, int, int, int, boolean, boolean)
- Make a Buttonize filter.
-
filterRGB(int, int, int)
-
Buttonize
public Buttonize(int w,
int h,
int intensity,
int sz,
boolean p,
boolean sm)
- Make a Buttonize filter.
- Parameters:
- width - The width of the button in pixels.
- height - The height of the button in pixels.
- intensity - The amount of button effect (button height).
- sz - The width of the border effect, in pixels.
- pushed - Default or depressed effect.
- sm - Whether to make the border a smooth transition.
Buttonize
public Buttonize(int w,
int h,
boolean p)
- Make a Buttonize filter with intensity = 30 and size = 10.
- Parameters:
- width - The width of the button in pixels.
- height - The height of the button in pixels.
- pushed - Default or depressed effect.
filterRGB
public int filterRGB(int x,
int y,
int rgb)
- Overrides:
- filterRGB in class RGBImageFilter
All Packages Class Hierarchy This Package Previous Next Index