01: package net.refractions.udig.render.gridcoverage.basic;
02:
03: import java.awt.Rectangle;
04:
05: import net.refractions.udig.project.render.IRenderContext;
06:
07: import com.vividsolutions.jts.geom.Envelope;
08:
09: /**
10: * Encapsulates the state required to render a GridCoverage
11: *
12: * @author Jesse
13: * @since 1.1.0
14: */
15: public class State {
16:
17: public float opacity;
18:
19: public double minScale;
20:
21: public double maxScale;
22:
23: public IRenderContext context;
24:
25: public Envelope bounds;
26:
27: public Rectangle displayArea;
28:
29: public State(IRenderContext context, Envelope bbox,
30: Rectangle displayArea, float opacity, double minScale,
31: double maxScale) {
32: this.opacity = opacity;
33: this.minScale = minScale;
34: this.maxScale = maxScale;
35: this.context = context;
36: this.bounds = bbox;
37: this.displayArea = displayArea;
38: }
39:
40: }
|