public class MultiShapePlacement extends java.lang.Object implements ILabelPlacement
Constructor and Description |
---|
MultiShapePlacement(ILabelPlacement pointPlacement,
ILabelPlacement linePlacement,
ILabelPlacement polygonPlacement)
Creates a new instance of MultiShapePlacement initializing the respective
placements to those passed as parameters.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<LabelLocationMetrics> |
guess(ILabelClass lc,
Geometry geom,
IPlacementConstraints placementConstraints,
double cartographicSymbolSize,
Cancellable cancel,
ViewPort vp) |
boolean |
isSuitableFor(IPlacementConstraints placementConstraints,
int shapeType) |
public MultiShapePlacement(ILabelPlacement pointPlacement, ILabelPlacement linePlacement, ILabelPlacement polygonPlacement)
pointPlacement,
- the placement for pointslinePlacement,
- the placement for linespolygonPlacement,
- the placement for polygonspublic java.util.ArrayList<LabelLocationMetrics> guess(ILabelClass lc, Geometry geom, IPlacementConstraints placementConstraints, double cartographicSymbolSize, Cancellable cancel, ViewPort vp)
guess
in interface ILabelPlacement
public boolean isSuitableFor(IPlacementConstraints placementConstraints, int shapeType)
isSuitableFor
in interface ILabelPlacement