codeblocks.rendering
Class ShapeBevel

java.lang.Object
  extended by codeblocks.rendering.ShapeBevel

public class ShapeBevel
extends java.lang.Object


Constructor Summary
ShapeBevel()
           
 
Method Summary
static void createShapeBevel(java.awt.Graphics2D g2, java.awt.Shape theShape, double flatness, int numBands, float bevelSize, float[] light)
           
static java.awt.Color getFrontFaceOverlay(float[] light)
           
static float[] getLightVector(float x, float y, float z)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeBevel

public ShapeBevel()
Method Detail

createShapeBevel

public static void createShapeBevel(java.awt.Graphics2D g2,
                                    java.awt.Shape theShape,
                                    double flatness,
                                    int numBands,
                                    float bevelSize,
                                    float[] light)

getFrontFaceOverlay

public static java.awt.Color getFrontFaceOverlay(float[] light)

getLightVector

public static float[] getLightVector(float x,
                                     float y,
                                     float z)