Class RectangleType
- java.lang.Object
-
- net.webpdf.parameter.schema.extraction.info.PositionsType
-
- net.webpdf.parameter.schema.extraction.info.RectangleType
-
- Direct Known Subclasses:
AnnotationRectangleType
public class RectangleType extends PositionsType
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Defines a rectangular area/box.</p>
Java class for RectangleType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="RectangleType"> <complexContent> <extension base="{http://schema.webpdf.de/1.0/extraction/info}PositionsType"> <attribute name="width" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> </restriction> </simpleType> </attribute> <attribute name="height" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> </restriction> </simpleType> </attribute> <attribute name="x" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> </restriction> </simpleType> </attribute> <attribute name="y" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> </restriction> </simpleType> </attribute> </extension> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description RectangleType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetHeight()<?floatgetWidth()<?floatgetX()<?floatgetY()<?voidsetHeight(Float value)Sets the value of the height property.voidsetWidth(Float value)Sets the value of the width property.voidsetX(Float value)Sets the value of the x property.voidsetY(Float value)Sets the value of the y property.
-
-
-
Field Detail
-
width
protected Float width
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The width of the rectangle in points.</p>
-
height
protected Float height
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The height of the rectangle in points.</p>
-
x
protected Float x
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The x coordinate in points.</p>
-
y
protected Float y
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The y coordinate in points.</p>
-
-
Method Detail
-
getWidth
public float getWidth()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The width of the rectangle in points.</p>
- Returns:
- possible object is
Float
-
setWidth
public void setWidth(Float value)
Sets the value of the width property.- Parameters:
value- allowed object isFloat- See Also:
getWidth()
-
getHeight
public float getHeight()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The height of the rectangle in points.</p>
- Returns:
- possible object is
Float
-
setHeight
public void setHeight(Float value)
Sets the value of the height property.- Parameters:
value- allowed object isFloat- See Also:
getHeight()
-
getX
public float getX()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The x coordinate in points.</p>
- Returns:
- possible object is
Float
-
setX
public void setX(Float value)
Sets the value of the x property.
-
getY
public float getY()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The y coordinate in points.</p>
- Returns:
- possible object is
Float
-
-