public class OrthoLineDef extends Object
Constructor and Description |
---|
OrthoLineDef(LineOrientation orientation,
int level,
double spacing)
Creates a new ortho-line definition.
|
OrthoLineDef(OrthoLineDef lineDef)
Creates a copy of an existing line definition.
|
Modifier and Type | Method and Description |
---|---|
int |
getLevel()
Gets the integer level (line precedence).
|
LineOrientation |
getOrientation()
Gets the orientation.
|
double |
getSpacing()
Gets the spacing between lines.
|
public OrthoLineDef(LineOrientation orientation, int level, double spacing)
orientation
- line orientationlevel
- an integer level (user-defined values) indicating line precedencespacing
- the spacing between lines in world distance unitspublic OrthoLineDef(OrthoLineDef lineDef)
lineDef
- the definition to copyIllegalArgumentException
- if lineDef
is null
public int getLevel()
public LineOrientation getOrientation()
public double getSpacing()
Copyright © 1996–2019 Geotools. All rights reserved.