codeblocks.rendering
Class ShapeBevel
java.lang.Object
codeblocks.rendering.ShapeBevel
public class ShapeBevel
- extends java.lang.Object
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 |
ShapeBevel
public ShapeBevel()
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)