public class IlvMapCurveRenderer extends IlvDefaultCurveRenderer
IlvMapCurveRenderer is a curve renderer that renders
stylable IlvGraphic objects, that is, objects that implement
the IlvMapGraphic interface.
This renderer is able to perform geodetic computation using the
IlvGeodeticPathComputation class.
| Constructor and Description |
|---|
IlvMapCurveRenderer(boolean useGeodeticComputation)
Creates a new
IlvMapCurveRenderer instance. |
IlvMapCurveRenderer(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. |
getLineRenderingStyle, isPersistent, isUsingGeneralPath, makeGraphic, setLineRenderingStyle, setUsingGeneralPathpublic IlvMapCurveRenderer(IlvInputStream stream) throws IlvReadFileException
IlvInputStream.stream - The stream to read from.IlvReadFileException - if there is a problem reading from
streampublic IlvMapCurveRenderer(boolean useGeodeticComputation)
IlvMapCurveRenderer instance.useGeodeticComputation - Set to true to use geodetic
computation.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 the constructor 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 IlvDefaultCurveRendererstream - the output streamIOException - thrown when an exception occurs during
the write operation for this object.IlvDefaultCurveRenderer.write(ilog.views.io.IlvOutputStream)© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.