All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.geomajas.rendering.painter.image.FeatureImagePainter Maven / Gradle / Ivy

/*
 * This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
 *
 * Copyright 2008-2012 Geosparc nv, http://www.geosparc.com/, Belgium.
 *
 * The program is available in open source according to the GNU Affero
 * General Public License. All contributions in this program are covered
 * by the Geomajas Contributors License Agreement. For full licensing
 * details, see LICENSE.txt in the project root.
 */

package org.geomajas.rendering.painter.image;

import java.awt.Graphics2D;

import org.geomajas.layer.feature.InternalFeature;
import org.geomajas.rendering.painter.TilePaintContext;

/**
 * 

* Painter interface that renders features onto a graphics object. *

* * @author Pieter De Graef */ public interface FeatureImagePainter { /** * Set the MapContext for this painter. Since the features have their coordinates in world space, this MapContext * can help transform them to screen space. * * @param tileContext */ void setTileContext(TilePaintContext tileContext); /** * Paint the feature on the graphics object. * * @param graphics * @param feature */ void paint(Graphics2D graphics, InternalFeature feature); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy