|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.svg.RadialGradientFill
public class RadialGradientFill
A filler to apply a SVG radial gradient across a shape
| Constructor Summary | |
|---|---|
RadialGradientFill(Shape shape,
Transform trans,
Gradient gradient)
Create a new fill for a radial gradient |
|
| 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 RadialGradientFill(Shape shape,
Transform trans,
Gradient gradient)
shape - The shape being filledtrans - The transform given for the shape in the SVGgradient - The gradient to apply across the shape| 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 | |||||||||