Modifier and Type | Field and Description |
---|---|
static String |
VENDOR_OPTION_NAME |
static String |
VENDOR_OPTION_SCALE_LIMIT |
static String |
VENDOR_OPTION_SIMPLICATION_FACTOR |
Constructor and Description |
---|
MarkAlongLine(Stroke delegate) |
MarkAlongLine(Stroke delegate,
double size,
Geometry wkt) |
Modifier and Type | Method and Description |
---|---|
Shape |
createStrokedShape(Shape shape) |
static MarkAlongLine.MarkAlongLiteShape |
FitOnLength(MarkAlongLine.MarkAlongLiteShape markAlongLiteShape,
double length,
double minScaleLimit) |
float |
getScaleImit() |
float |
getSimplicationFactor() |
double |
getSimplificatorFactor() |
void |
setScaleImit(float scaleImit)
shape`s size cannot be reduced beyond this scale Limit 0 - always scale 1 - never scale
|
void |
setSimplicationFactor(float simplicationFactor)
Multiplier between 0 to 1, used to calculate the distance in pixel to be used for
simplification of source linear geometry *
0 - never simplify 1 - use complete height as simplification distance default - 0.5 (half
the height)
|
public static final String VENDOR_OPTION_NAME
public static final String VENDOR_OPTION_SCALE_LIMIT
public static final String VENDOR_OPTION_SIMPLICATION_FACTOR
public MarkAlongLine(Stroke delegate)
public MarkAlongLine(Stroke delegate, double size, Geometry wkt)
public float getScaleImit()
public void setScaleImit(float scaleImit)
scaleImit
- the scaleImit to setpublic float getSimplicationFactor()
public void setSimplicationFactor(float simplicationFactor)
0 - never simplify 1 - use complete height as simplification distance default - 0.5 (half the height)
simplicationFactor
- to scale WKT shape height and use it for simplificationpublic Shape createStrokedShape(Shape shape)
createStrokedShape
in interface Stroke
public static MarkAlongLine.MarkAlongLiteShape FitOnLength(MarkAlongLine.MarkAlongLiteShape markAlongLiteShape, double length, double minScaleLimit)
public double getSimplificatorFactor()
Copyright © 1996–2021 Geotools. All rights reserved.