1 18 package org.apache.batik.ext.awt.image; 19 20 import java.awt.Color ; 21 22 31 public interface Light { 32 35 public boolean isConstant(); 36 37 45 public void getLight(final double x, final double y, final double z, final double L[]); 46 47 64 public double[][][] getLightMap(double x, double y, 65 final double dx, final double dy, 66 final int width, final int height, 67 final double[][][] z); 68 69 85 public double[][] getLightRow(double x, double y, 86 final double dx, final int width, 87 final double[][] z, 88 final double[][] lightRow); 89 90 96 public double[] getColor(boolean linear); 97 98 101 public void setColor(Color color); 102 } 103 104 | Popular Tags |