Class BackgroundBaseSettingsType.Position
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.BackgroundBaseSettingsType.Position
-
- Enclosing class:
- BackgroundBaseSettingsType
public static class BackgroundBaseSettingsType.Position extends Object
Java class for anonymous complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="x" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="y" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="metrics" type="{http://schema.webpdf.de/1.0/operation}MetricsType" default="mm" /> <attribute name="position" type="{http://schema.webpdf.de/1.0/operation}BackgroundPositionModeType" default="center_center" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected MetricsTypemetrics<?protected BackgroundPositionModeTypeposition<?protected Floatx<?protected Floaty<?
-
Constructor Summary
Constructors Constructor Description Position()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricsTypegetMetrics()<?BackgroundPositionModeTypegetPosition()<?floatgetX()<?floatgetY()<?booleanisSetMetrics()booleanisSetPosition()booleanisSetX()booleanisSetY()voidsetMetrics(MetricsType value)Sets the value of the metrics property.voidsetPosition(BackgroundPositionModeType value)Sets the value of the position property.voidsetX(float value)Sets the value of the x property.voidsetY(float value)Sets the value of the y property.voidunsetX()voidunsetY()
-
-
-
Field Detail
-
x
protected Float x
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">X-axis position of rectangle.</p>
-
y
protected Float y
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Y-axis position of rectangle.</p>
-
metrics
protected MetricsType metrics
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Unit used to specify the background's X-axis / Y-axis position: <ul><li>pt = Points (1/72 inch)</li><li>pc = Picas (12 points)</li><li>px = Pixels (1/96 inch)</li><li>mm = Millimeters</li><li>in = Inches</li></ul></p>
-
position
protected BackgroundPositionModeType position
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Uses one of multiple preset positions in order to position the background on the page. <ul><li>custom = Disable the use of a preset position.</li><li>top_left = Positions the background in the top left corner.</li><li>top_center = Positions the background in the centre on the top margin.</li><li>top_right = Positions the background in the top right corner.</li><li>center_left = Positions the background at the centre of the page, to the left.</li><li>center_center = Positions the background at the centre of the page.</li><li>center_right = Positions the background at the centre of the page, to the right.</li><li>bottom_left = Positions the background in the bottom left corner.</li><li>bottom_center = Positions the background in the centre on the bottom margin.</li><li>bottom_right = Positions the background in the bottom right corner.</li></ul></p>
-
-
Method Detail
-
getX
public float getX()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">X-axis position of rectangle.</p>
- Returns:
- possible object is
Float
-
setX
public void setX(float value)
Sets the value of the x property.
-
isSetX
public boolean isSetX()
-
unsetX
public void unsetX()
-
getY
public float getY()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Y-axis position of rectangle.</p>
- Returns:
- possible object is
Float
-
setY
public void setY(float value)
Sets the value of the y property.
-
isSetY
public boolean isSetY()
-
unsetY
public void unsetY()
-
getMetrics
public MetricsType getMetrics()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Unit used to specify the background's X-axis / Y-axis position: <ul><li>pt = Points (1/72 inch)</li><li>pc = Picas (12 points)</li><li>px = Pixels (1/96 inch)</li><li>mm = Millimeters</li><li>in = Inches</li></ul></p>- Returns:
- possible object is
MetricsType
-
setMetrics
public void setMetrics(MetricsType value)
Sets the value of the metrics property.- Parameters:
value- allowed object isMetricsType- See Also:
getMetrics()
-
isSetMetrics
public boolean isSetMetrics()
-
getPosition
public BackgroundPositionModeType getPosition()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Uses one of multiple preset positions in order to position the background on the page. <ul><li>custom = Disable the use of a preset position.</li><li>top_left = Positions the background in the top left corner.</li><li>top_center = Positions the background in the centre on the top margin.</li><li>top_right = Positions the background in the top right corner.</li><li>center_left = Positions the background at the centre of the page, to the left.</li><li>center_center = Positions the background at the centre of the page.</li><li>center_right = Positions the background at the centre of the page, to the right.</li><li>bottom_left = Positions the background in the bottom left corner.</li><li>bottom_center = Positions the background in the centre on the bottom margin.</li><li>bottom_right = Positions the background in the bottom right corner.</li></ul></p>- Returns:
- possible object is
BackgroundPositionModeType
-
setPosition
public void setPosition(BackgroundPositionModeType value)
Sets the value of the position property.- Parameters:
value- allowed object isBackgroundPositionModeType- See Also:
getPosition()
-
isSetPosition
public boolean isSetPosition()
-
-