public class PointPlacementImpl extends Object implements PointPlacement, Cloneable
DEFAULT_ANCHOR_POINT| Constructor and Description |
|---|
PointPlacementImpl() |
PointPlacementImpl(FilterFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(StyleVisitor visitor) |
Object |
accept(StyleVisitor visitor,
Object data)
calls the visit method of a StyleVisitor
|
Object |
clone()
Creates and returns a copy of this object.
|
boolean |
equals(Object obj) |
AnchorPointImpl |
getAnchorPoint()
Returns the AnchorPoint which identifies the location inside a text label to use as an
"anchor" for positioning it relative to a point geometry.
|
Displacement |
getDisplacement()
Returns the Displacement which gives X and Y offset displacements to use for rendering a text
label near a point.
|
Expression |
getRotation()
Returns the rotation of the label.
|
int |
hashCode() |
void |
setAnchorPoint(AnchorPoint anchorPoint)
Setter for property anchorPoint.
|
void |
setDisplacement(Displacement displacement)
Setter for property displacement.
|
void |
setRotation(Expression rotation)
Setter for property rotation.
|
public PointPlacementImpl()
public PointPlacementImpl(FilterFactory factory)
public AnchorPointImpl getAnchorPoint()
getAnchorPoint in interface PointPlacementpublic void setAnchorPoint(AnchorPoint anchorPoint)
anchorPoint - New value of property anchorPoint.public Displacement getDisplacement()
getDisplacement in interface PointPlacementpublic void setDisplacement(Displacement displacement)
displacement - New value of property displacement.public Expression getRotation()
getRotation in interface PointPlacementpublic void setRotation(Expression rotation)
rotation - New value of property rotation.public Object accept(StyleVisitor visitor, Object data)
PointPlacementaccept in interface LabelPlacementaccept in interface PointPlacementvisitor - the style visitorpublic void accept(StyleVisitor visitor)
public Object clone()
Cloneableclone in class ObjectObject.clone()Copyright © 1996–2019 Geotools. All rights reserved.