public interface Path
The implementations and instances of this interface are provided by the image generator engine.
| Modifier and Type | Method and Description |
|---|---|
void |
encode(PathData pathData)
Parses this path and encodes it in the given path data in a format dedicated to the GPU.
|
double |
getMaxX()
Gets the right x coordinate of the path's bounding box.
|
double |
getMaxY()
Gets the bottom y coordinate of the path's bounding box.
|
double |
getMinX()
Gets the left x coordinate of the path's bounding box.
|
double |
getMinY()
Gets the top y coordinate of the path's bounding box.
|
double getMinX()
double getMaxX()
double getMinY()
double getMaxY()
void encode(PathData pathData)
This method should be called in the implementations of ImageGenerator.encodePath(Path).
pathData - the path data to encode in