|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ShapeFill
A filling method for a shape. This allows changing colours at shape verticies and modify they're positions as required
| Method Summary | |
|---|---|
Color |
colorAt(Shape shape,
float x,
float y)
Get the colour that should be applied at the specified location |
Vector2f |
getOffsetAt(Shape shape,
float x,
float y)
Get the offset for a vertex at a given location based on it's shape |
| Method Detail |
|---|
Color colorAt(Shape shape,
float x,
float y)
shape - The shape being filledx - The x coordinate of the point being colouredy - The y coordinate of the point being coloured
Vector2f getOffsetAt(Shape shape,
float x,
float y)
shape - The shape being filledx - The x coordinate of the point being drawny - The y coordinate of the point being drawn
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||