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
ConstructorDescriptionDefault 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 theAnchorPointX
element.Returns the value of the property that maps to theAnchorPointY
element.void
setAnchorPointX
(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theAnchorPointX
element.void
setAnchorPointY
(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theAnchorPointY
element.
-
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 theAnchorPointX
element.- Returns:
- the value of the
ANCHOR_POINT_X_PROPERTY
property.
-
setAnchorPointX
Sets the value of the property that maps to theAnchorPointX
element.- Parameters:
aValue
- the value to set for theANCHOR_POINT_X_PROPERTY
property.
-
getAnchorPointY
Returns the value of the property that maps to theAnchorPointY
element.- Returns:
- the value of the
ANCHOR_POINT_Y_PROPERTY
property.
-
setAnchorPointY
Sets the value of the property that maps to theAnchorPointY
element.- Parameters:
aValue
- the value to set for theANCHOR_POINT_Y_PROPERTY
property.
-