Maven module :un.api : api-display :
Class : un.engine.painter2d.Rasterizer2D
Extends/Implements : -
Subclasses : -

A Rasterizer transforms vector geometries in gridd information datas.
author  Johann Sorel


Variables : -
Functions : getExtent, getMask, resetBBox, rasterize




return
Extent.Long getExtent ()

Image getMask ()


Reset image on given area.
param  area
void resetBBox (BBox area)


Rasterize given geometry.
The produced image contains a byte for each pixel.
0 is for a pixel outside the geometry
255 is for a pixel completely inside the geometry
1-254 may be used to indicate partial inclusion
param  geom
return  Image, this image is a 1 band byte image
Image rasterize (Geometry2D geom)