Package org.geotools.styling
Class AnchorPointImpl
Object
AnchorPointImpl
- All Implemented Interfaces:
Cloneable
,AnchorPoint
,Cloneable
Direct implementation of AnchorPoint.
- Author:
- Ian Turton, CCG
-
Constructor Summary
ConstructorsConstructorDescriptionAnchorPointImpl
(FilterFactory filterFactory) Creates a new instance of DefaultAnchorPointAnchorPointImpl
(FilterFactory filterFactory, Expression x, Expression y) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(StyleVisitor visitor) calls the visit method of a StyleVisitoraccept
(TraversingStyleVisitor visitor, Object data) calls the visit method of a StyleVisitorclone()
Creates and returns a copy of this object.boolean
Getter for property anchorPointX.Getter for property anchorPointY.void
getAnchorPointY
(double x) Define the anchor point.int
hashCode()
void
setAnchorPointX
(Expression anchorPointX) Setter for property anchorPointX.void
setAnchorPointY
(Expression anchorPointY) Setter for property anchorPointY.
-
Constructor Details
-
AnchorPointImpl
public AnchorPointImpl() -
AnchorPointImpl
Creates a new instance of DefaultAnchorPoint -
AnchorPointImpl
-
-
Method Details
-
getAnchorPointX
Getter for property anchorPointX.- Specified by:
getAnchorPointX
in interfaceAnchorPoint
- Returns:
- Value of property anchorPointX.
-
setAnchorPointX
Setter for property anchorPointX.- Specified by:
setAnchorPointX
in interfaceAnchorPoint
- Parameters:
anchorPointX
- New value of property anchorPointX.
-
getAnchorPointY
Getter for property anchorPointY.- Specified by:
getAnchorPointY
in interfaceAnchorPoint
- Returns:
- Value of property anchorPointY.
-
setAnchorPointY
Setter for property anchorPointY.- Specified by:
setAnchorPointY
in interfaceAnchorPoint
- Parameters:
anchorPointY
- New value of property anchorPointY.
-
getAnchorPointY
public void getAnchorPointY(double x) Define the anchor point.- Parameters:
x
- Literal value of property anchorPointX
-
accept
Description copied from interface:AnchorPoint
calls the visit method of a StyleVisitor- Specified by:
accept
in interfaceAnchorPoint
- Parameters:
visitor
- the style visitor
-
accept
Description copied from interface:AnchorPoint
calls the visit method of a StyleVisitor- Specified by:
accept
in interfaceAnchorPoint
- Parameters:
visitor
- the style visitor
-
clone
Description copied from interface:Cloneable
Creates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the object. -
equals
-
hashCode
public int hashCode()
-