Revision 38626 branches/v2_0_0_prep/libraries/libFMap_controls/src/org/gvsig/fmap/mapcontrol/MapControlDrawer.java

View differences:

MapControlDrawer.java
30 30
import java.awt.Color;
31 31
import java.awt.Composite;
32 32
import java.awt.Image;
33
import java.awt.RenderingHints;
34
import java.awt.Stroke;
33 35
import java.awt.geom.AffineTransform;
34 36
import java.awt.geom.Point2D;
35 37

  
......
156 158
     * @param instance
157 159
     */
158 160
    public void setComposite(Composite instance);
161
    
162
    /**
163
     * Replaces the values of all preferences for the rendering algorithms with the specified hints. The existing 
164
     * values for all rendering hints are discarded and the new set of known hints and values are initialized 
165
     * from the specified Map object. Hint categories include controls for rendering quality and overall time/
166
     * quality trade-off in the rendering process. Refer to the RenderingHints class for definitions of some 
167
     * common keys and values.
168
     * @param hints  the rendering hints to be set
169
     */
170
    public void setRenderingHints(RenderingHints hints);
171
    
172
    /**
173
     * Sets the Stroke for the Graphics2D context.
174
     * @param stroke the Stroke object to be used to stroke a Shape during the rendering 
175
     */
176
    public void setStroke(Stroke stroke);
177
    
178
    /**
179
     * Cleans the graphics using the image of the MapControl
180
     * @param mapCtrl
181
     */
182
    public void cleanCanvas(MapControl mapCtrl);
159 183

  
160 184
}

Also available in: Unified diff