All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.eou.toolkit.graphics.VectorUtils

java.lang.Object
   |
   +----com.ibm.eou.toolkit.graphics.VectorUtils

public class VectorUtils
extends Object
This class provides vector oriented utility functions.


Method Index

 o render3DRect(Graphics, int, int, int, int, boolean, int, int, int)
Draw a 3D raised or recessed border within the given rectangle.
 o renderHollowRect(Graphics, int, int, int, int, int)
Draw a plain border within the given rectangle.

Methods

 o render3DRect
 public static void render3DRect(Graphics g,
                                 int x,
                                 int y,
                                 int w,
                                 int h,
                                 boolean raised,
                                 int outerBorderWidth,
                                 int mainBorderWidth,
                                 int innerBorderWidth)
Draw a 3D raised or recessed border within the given rectangle. The outer and inner borders are drawn in the current graphics drawing colour, while the main raised or recessed border is drawn in colours chosen to create the required effect.

 o renderHollowRect
 public static void renderHollowRect(Graphics g,
                                     int x,
                                     int y,
                                     int w,
                                     int h,
                                     int borderWidth)
Draw a plain border within the given rectangle. The border is drawn in the current graphics drawing colour.


All Packages  Class Hierarchy  This Package  Previous  Next  Index