|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectTextureColumn
public class TextureColumn
Represents a vertical stripe of a texture.
| Method Summary | |
|---|---|
void |
fill(int[] dst,
int dOffs,
int dScan,
int dHeight,
double intensity)
Copies this stripe into the given pixels array. |
int |
getHeight()
Returns the number of pixels this stripe contains. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getHeight()
public void fill(int[] dst,
int dOffs,
int dScan,
int dHeight,
double intensity)
dst - the array into which the vertical stripe
should be copied.dOffs - the offset within the array where the top
pixel of the texture should be placed. Note that this
may be a negative value if the top portion of the
texture should not appear at all.dScan - the number of array entries separating
adjacent pixels in a column.dHeight - the height of the column in the array
into which this texture column should be mapped.intensity - a multiplier between 0.0 and 1.0
representing how bright the copy should be.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||