public class IlvMapAreaRenderer extends IlvDefaultAreaRenderer
IlvMapAreaRenderer is an area renderer that renders stylable
IlvGraphic objects, that is, objects that implement the
IlvMapGraphic interface.
.| Constructor and Description |
|---|
IlvMapAreaRenderer(boolean useGeneralPath,
boolean useGeodeticComputation)
Creates an new
IlvMapAreaRenderer instance. |
IlvMapAreaRenderer(IlvInputStream stream)
Reads this renderer from an
IlvInputStream. |
| Modifier and Type | Method and Description |
|---|---|
static void |
setGeodeticInterpolationRendering(boolean geodeticInterpolationRendering)
Activates geodetic interpolation.
|
void |
write(IlvOutputStream stream)
Writes the renderer to an
IlvOutputStream. |
getAreaRenderingStyle, isPersistent, isUsingGeneralPath, makeGraphic, setAreaRenderingStyle, setUsingGeneralPathpublic IlvMapAreaRenderer(IlvInputStream stream) throws IlvReadFileException
IlvInputStream.stream - The stream to read from.IlvReadFileException - if there is a problem reading
stream.public IlvMapAreaRenderer(boolean useGeneralPath,
boolean useGeodeticComputation)
IlvMapAreaRenderer instance.
Use this constructor to specify if a IlvMapGeneralPath should
be generated or not.useGeneralPath - Set to true if a general path should
be generated instead of a graphic path.useGeodeticComputation - Set to true if geodetic
computation should be used.public static void setGeodeticInterpolationRendering(boolean geodeticInterpolationRendering)
When geodetic interpolation is activated, each segment of a curve is interpolated in many segments along an orthodromy between two points.
Note: geodetic interpolation can be activated only after geodetic computation was activated when theconstructor was called.geodeticInterpolationRendering - Set to true to activate
interpolation.public void write(IlvOutputStream stream) throws IOException
IlvOutputStream.write in interface IlvPersistentObjectwrite in interface IlvFeatureRendererwrite in class IlvDefaultAreaRendererstream - the output streamIOException - thrown when an exception occurs during
the write operation for this object.IlvDefaultAreaRenderer.write(ilog.views.io.IlvOutputStream)© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.