public class IlvMIFPenFactory extends Object
IlvMIFReader
to create
rendering styles suitable for the renderer of map features read from
a MIF file.
Constructor and Description |
---|
IlvMIFPenFactory(double flatness)
Creates a MIF pen factory with the specified flatness as flattening
for clipped path decorations.
|
Modifier and Type | Method and Description |
---|---|
IlvMapLineRenderingStyle |
getLineStyle(int width,
int pattern,
int color)
Returns the line rendering style corresponding to a
MIF pen. |
public IlvMIFPenFactory(double flatness)
public IlvMapLineRenderingStyle getLineStyle(int width, int pattern, int color)
MIF
pen.width
- The width of the pen, as specified in the MIF specifications.pattern
- The MIF pattern ID.color
- The color, encoded as specified in the MIF specifications.IlvMapLineRenderingStyle
to use to render curves.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.