Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] RenderMetricsFactory vs RenderMetrics

Justin Deoliveira wrote:

Both RMF and RM contain a canRender() method. It is a little unclear what the difference between them is.

Justin

RenderMetricsFactory:

/**
* This method is used to determine whether the renderer can render the layer.
* It is used so that not all metrics need to be created.
* @param toolkit A toolkit containing reference to everything a renderer needs. * @return true if the associated renderer can render the layer using the data provided
* by data.
* @throws IOException
*/
public boolean canRender(RenderContext toolkit) throws IOException;

RenderMetrics:

Lets remove canRender and canStyle from RenderMetrics - we have real measurements for this.



Back to the top