public class IlvDXFFeatureRenderer extends Object implements IlvFeatureRenderer
IlvMapGraphic
objects set in the id of the IlvMapFeature
and reprojects them using the transformation.Constructor and Description |
---|
IlvDXFFeatureRenderer()
Creates a new
IlvDXFFeatureRenderer . |
IlvDXFFeatureRenderer(boolean usingGeodeticComputation)
Creates a new
IlvDXFFeatureRenderer instance. |
IlvDXFFeatureRenderer(IlvInputStream stream)
Creates a new
IlvDXFFeatureRenderer from an IVL input stream. |
Modifier and Type | Method and Description |
---|---|
boolean |
isPersistent()
Returns
true if the renderer must be saved. |
IlvGraphic |
makeGraphic(IlvMapFeature arg0,
IlvCoordinateTransformation transform)
Translates an
IlvMapFeature into a graphic object, using
the specified IlvCoordinateTransformation to transform the
coordinates. |
void |
write(IlvOutputStream stream)
Writes the renderer to an
IlvOutputStream . |
public IlvDXFFeatureRenderer()
IlvDXFFeatureRenderer
.public IlvDXFFeatureRenderer(boolean usingGeodeticComputation)
IlvDXFFeatureRenderer
instance.usingGeodeticComputation
- Should this renderer take care of date
line wrapping.public IlvDXFFeatureRenderer(IlvInputStream stream)
IlvDXFFeatureRenderer
from an IVL input stream.stream
- The stream to read from.public IlvGraphic makeGraphic(IlvMapFeature arg0, IlvCoordinateTransformation transform)
IlvMapFeature
into a graphic object, using
the specified IlvCoordinateTransformation
to transform the
coordinates.
draw(IlvMapFeature, IlvProjection)
. In case you
have overridden the old draw
method, you have to rewrite
your method in order to migrate to JViews 5.0.makeGraphic
in interface IlvFeatureRenderer
arg0
- The map feature to translate.transform
- The transformation used to convert coordinates of the map
feature.IlvFeatureRenderer.makeGraphic(ilog.views.maps.IlvMapFeature, ilog.views.maps.srs.coordtrans.IlvCoordinateTransformation)
public void write(IlvOutputStream stream)
IlvOutputStream
.write
in interface IlvPersistentObject
write
in interface IlvFeatureRenderer
stream
- the output streamIlvFeatureRenderer.write(ilog.views.io.IlvOutputStream)
public boolean isPersistent()
true
if the renderer must be saved.isPersistent
in interface IlvFeatureRenderer
IlvFeatureRenderer.isPersistent()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.