|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.svg.LinearGradientFill
public class LinearGradientFill
A filler for shapes that applys SVG linear gradients
| Constructor Summary | |
|---|---|
LinearGradientFill(Shape shape,
Transform trans,
Gradient gradient)
Create a new fill for gradients |
|
| Method Summary | |
|---|---|
Vector2f |
getCoordFor(float x,
float y)
Get the texture coordinate for a given render position |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinearGradientFill(Shape shape,
Transform trans,
Gradient gradient)
shape - The shape being filledtrans - The transform given for the shapegradient - The gradient to apply| Method Detail |
|---|
public Vector2f getCoordFor(float x,
float y)
TexCoordGenerator
getCoordFor in interface TexCoordGeneratorx - The x coordinate of the vertex being renderedy - The y coordinate of the vertex being rendered
TexCoordGenerator.getCoordFor(float, float)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||