public interface ShapeFill
Modifier and Type | Method and Description |
---|---|
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
|
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 colouredVector2f 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