Package iofXml.v3
Class MapPosition
-
- All Implemented Interfaces:
public class MapPositionDefines a position in a map's coordinate system.
Java class for MapPosition complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="MapPosition"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> <attribute name="unit" default="mm"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="px"/> <enumeration value="mm"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description MapPosition()
-
Method Summary
Modifier and Type Method Description doublegetX()The number of units right of the center of the coordinate system. voidsetX(double value)Sets the value of the x property. doublegetY()The number of units below the center of the coordinate system. voidsetY(double value)Sets the value of the y property. StringgetUnit()The type of unit used. voidsetUnit(String value)Sets the value of the unit property. -
-
Method Detail
-
getX
double getX()
The number of units right of the center of the coordinate system.
-
setX
void setX(double value)
Sets the value of the x property.
-
getY
double getY()
The number of units below the center of the coordinate system.
-
setY
void setY(double value)
Sets the value of the y property.
-
-
-
-