|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpainter.TexturePainter
public class TexturePainter
Constructor Summary | |
---|---|
TexturePainter(java.io.File sFile,
double scale)
constructor |
Method Summary | |
---|---|
RGBColor |
getColor(IntersectionInfo intersection)
|
IPainter |
getCopy()
|
int |
getHeight()
|
int |
getWidth()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TexturePainter(java.io.File sFile, double scale)
sFile
- the file to loadscale
- multiply the colors by this valueMethod Detail |
---|
public RGBColor getColor(IntersectionInfo intersection)
getColor
in interface IPainter
public IPainter getCopy()
getCopy
in interface IPainter
public int getWidth()
public int getHeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |