Package com.google.earth.kml._2
Class Vec2Type
java.lang.Object
com.google.earth.kml._2.Vec2Type
<p>Java class for vec2Type complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="vec2Type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="x" type="{http://www.w3.org/2001/XMLSchema}double" default="1.0" />
<attribute name="y" type="{http://www.w3.org/2001/XMLSchema}double" default="1.0" />
<attribute name="xunits" type="{http://earth.google.com/kml/2.1}unitsEnum" default="fraction" />
<attribute name="yunits" type="{http://earth.google.com/kml/2.1}unitsEnum" default="fraction" />
</restriction>
</complexContent>
</complexType>
}</pre>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetX()Gets the value of the x property.Gets the value of the xunits property.doublegetY()Gets the value of the y property.Gets the value of the yunits property.voidSets the value of the x property.voidSets the value of the xunits property.voidSets the value of the y property.voidSets the value of the yunits property.
-
Field Details
-
x
-
y
-
xunits
-
yunits
-
-
Constructor Details
-
Vec2Type
public Vec2Type()
-
-
Method Details
-
getX
public double getX()Gets the value of the x property.- Returns:
- possible object is
Double
-
setX
Sets the value of the x property.- Parameters:
value- allowed object isDouble
-
getY
public double getY()Gets the value of the y property.- Returns:
- possible object is
Double
-
setY
Sets the value of the y property.- Parameters:
value- allowed object isDouble
-
getXunits
Gets the value of the xunits property.- Returns:
- possible object is
UnitsEnum
-
setXunits
Sets the value of the xunits property.- Parameters:
value- allowed object isUnitsEnum
-
getYunits
Gets the value of the yunits property.- Returns:
- possible object is
UnitsEnum
-
setYunits
Sets the value of the yunits property.- Parameters:
value- allowed object isUnitsEnum
-