Package iofXml.v3
Class MapPosition
-
- All Implemented Interfaces:
public class MapPosition
Defines 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 double
getX()
The number of units right of the center of the coordinate system. void
setX(double value)
Sets the value of the x property. double
getY()
The number of units below the center of the coordinate system. void
setY(double value)
Sets the value of the y property. String
getUnit()
The type of unit used. void
setUnit(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.
-
-
-
-