Package com.luciad.ogc.sld.model
Class TLcdSLDAnchorPoint
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDAnchorPoint
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
An anchor point defines the location of a graphic or label relative to the bounds of this graphic / label.
The X and Y coordinates are defined as two decimal numbers in the interval [0.0, 1.0].
The bounding box of the graphic / label to be rendered is considered to be in a coordinate space
from 0.0 (lower-left corner) to 1.0 (upper-right corner), and the anchor point is specified
as a point in this space.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.TLcdSLDAnchorPoint(TLcdDataType aDataType) Default constructor.TLcdSLDAnchorPoint(TLcdSLDParameterValue aAnchorPointX, TLcdSLDParameterValue aAnchorPointY) Constructs an instance with two given parameters value for coordinates. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to theAnchorPointXelement.Returns the value of the property that maps to theAnchorPointYelement.voidsetAnchorPointX(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theAnchorPointXelement.voidsetAnchorPointY(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theAnchorPointYelement.
-
Constructor Details
-
TLcdSLDAnchorPoint
public TLcdSLDAnchorPoint()Default constructor. -
TLcdSLDAnchorPoint
Constructs an instance with two given parameters value for coordinates.- Parameters:
aAnchorPointX- the parameter value for x coordinates.aAnchorPointY- the parameter value for y coordinates.
-
TLcdSLDAnchorPoint
Default constructor.
-
-
Method Details
-
getAnchorPointX
Returns the value of the property that maps to theAnchorPointXelement.- Returns:
- the value of the
ANCHOR_POINT_X_PROPERTYproperty.
-
setAnchorPointX
Sets the value of the property that maps to theAnchorPointXelement.- Parameters:
aValue- the value to set for theANCHOR_POINT_X_PROPERTYproperty.
-
getAnchorPointY
Returns the value of the property that maps to theAnchorPointYelement.- Returns:
- the value of the
ANCHOR_POINT_Y_PROPERTYproperty.
-
setAnchorPointY
Sets the value of the property that maps to theAnchorPointYelement.- Parameters:
aValue- the value to set for theANCHOR_POINT_Y_PROPERTYproperty.
-