| Constructor and Description |
|---|
Img(ImageGrinderTask task,
Subpath subpath,
T parsed) |
| Modifier and Type | Method and Description |
|---|---|
T |
parsed() |
void |
render(String suffix)
Renders the image with the given suffix.
|
void |
render(String suffix,
double scale)
Renders the image with the given suffix at the given scale.
|
void |
render(String suffix,
Size size)
Renders the image with the given suffix at the given size.
|
void |
renderFull(String fullPath,
Size size)
Renders the image with the given full path (relative to the task’s dst folder) at the given size.
|
protected abstract void |
renderPng(File file,
Size size) |
Size |
size() |
Subpath |
subpath() |
public Img(ImageGrinderTask task, Subpath subpath, T parsed)
public Subpath subpath()
public T parsed()
public void render(String suffix)
Renders the image with the given suffix.
public void render(String suffix, double scale)
Renders the image with the given suffix at the given scale.
public void render(String suffix, Size size)
Renders the image with the given suffix at the given size.
public void renderFull(String fullPath, Size size)
Renders the image with the given full path (relative to the task’s dst folder) at the given size.