public interface RenderingScenario
Modifier and Type | Method and Description |
---|---|
double |
calculateCost(Map<String,Double> variables)
Calculates the cost of this scenario with the supplied
variables (which might, for example, include the total height
of the rendered result).
|
void |
renderScenario(FormatterCore formatter)
Renders the scenario into the supplied formatter.
|
void renderScenario(FormatterCore formatter) throws FormatterException
formatter
- the formatter to render intoFormatterException
- if rendering fails. If this exception is thrown,
the supplied formatter may be in an unknown state.double calculateCost(Map<String,Double> variables)
variables
- the variables to use when calculating the cost