Class SvgType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.ImageBaseType
-
- net.webpdf.wsclient.schema.operation.SvgType
-
public class SvgType extends ImageBaseType
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Defines a target SVG image format.</p>
Java class for SvgType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="SvgType"> <complexContent> <extension base="{http://schema.webpdf.de/1.0/operation}ImageBaseType"> <attribute name="decimalPrecision" default="2"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> <maxInclusive value="10"/> </restriction> </simpleType> </attribute> <attribute name="graphicsStateMode" default="centralize"> <simpleType> <restriction base="{http://schema.webpdf.de/1.0/operation}SvgGraphicsStateModeType"> <enumeration value="verbose"/> <enumeration value="centralize"/> </restriction> </simpleType> </attribute> <attribute name="pathDrawMode" default="compact"> <simpleType> <restriction base="{http://schema.webpdf.de/1.0/operation}SvgPathDrawModeType"> <enumeration value="verbose"/> <enumeration value="compact"/> </restriction> </simpleType> </attribute> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegerdecimalPrecision<?protected SvgGraphicsStateModeTypegraphicsStateMode<?protected SvgPathDrawModeTypepathDrawMode<?-
Fields inherited from class net.webpdf.wsclient.schema.operation.ImageBaseType
dpi, height, metrics, width
-
-
Constructor Summary
Constructors Constructor Description SvgType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDecimalPrecision()<?SvgGraphicsStateModeTypegetGraphicsStateMode()<?SvgPathDrawModeTypegetPathDrawMode()<?booleanisSetDecimalPrecision()booleanisSetGraphicsStateMode()booleanisSetPathDrawMode()voidsetDecimalPrecision(int value)Sets the value of the decimalPrecision property.voidsetGraphicsStateMode(SvgGraphicsStateModeType value)Sets the value of the graphicsStateMode property.voidsetPathDrawMode(SvgPathDrawModeType value)Sets the value of the pathDrawMode property.voidunsetDecimalPrecision()-
Methods inherited from class net.webpdf.wsclient.schema.operation.ImageBaseType
getDpi, getHeight, getMetrics, getWidth, isSetDpi, isSetHeight, isSetMetrics, isSetWidth, setDpi, setHeight, setMetrics, setWidth, unsetDpi, unsetHeight, unsetWidth
-
-
-
-
Field Detail
-
decimalPrecision
protected Integer decimalPrecision
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the number of decimal places for numeric values of the resulting SVG.</p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> The number of decimal places directly influences the size of the resulting file. However: Higher values will result in a better SVG quality. </p>
-
graphicsStateMode
protected SvgGraphicsStateModeType graphicsStateMode
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"> Selects the SVG syntax used for formatting graphics states. <ul><li>verbose = Writes verbose graphics states and groups and always prefers direct path definitions.</li><li>compact = Writes compact graphics states and groups and centralizes formatting instructions, also utilizes the "use" syntax to prepare and reference indirect paths. (May not be readable by some SVG viewers.)</li></ul></p>
-
pathDrawMode
protected SvgPathDrawModeType pathDrawMode
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"> Selects the SVG syntax used for formatting graphics states. <ul><li>verbose = Writes verbose paths, containing a human readable complete and simple syntax.</li><li>compress = Compresses path draw instructions, by applying the EBNF (Extended Backus Naur Form).</li></ul></p>
-
-
Method Detail
-
getDecimalPrecision
public int getDecimalPrecision()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the number of decimal places for numeric values of the resulting SVG.</p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> The number of decimal places directly influences the size of the resulting file. However: Higher values will result in a better SVG quality. </p>- Returns:
- possible object is
Integer
-
setDecimalPrecision
public void setDecimalPrecision(int value)
Sets the value of the decimalPrecision property.- Parameters:
value- allowed object isInteger- See Also:
getDecimalPrecision()
-
isSetDecimalPrecision
public boolean isSetDecimalPrecision()
-
unsetDecimalPrecision
public void unsetDecimalPrecision()
-
getGraphicsStateMode
public SvgGraphicsStateModeType getGraphicsStateMode()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"> Selects the SVG syntax used for formatting graphics states. <ul><li>verbose = Writes verbose graphics states and groups and always prefers direct path definitions.</li><li>compact = Writes compact graphics states and groups and centralizes formatting instructions, also utilizes the "use" syntax to prepare and reference indirect paths. (May not be readable by some SVG viewers.)</li></ul></p>- Returns:
- possible object is
SvgGraphicsStateModeType
-
setGraphicsStateMode
public void setGraphicsStateMode(SvgGraphicsStateModeType value)
Sets the value of the graphicsStateMode property.- Parameters:
value- allowed object isSvgGraphicsStateModeType- See Also:
getGraphicsStateMode()
-
isSetGraphicsStateMode
public boolean isSetGraphicsStateMode()
-
getPathDrawMode
public SvgPathDrawModeType getPathDrawMode()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"> Selects the SVG syntax used for formatting graphics states. <ul><li>verbose = Writes verbose paths, containing a human readable complete and simple syntax.</li><li>compress = Compresses path draw instructions, by applying the EBNF (Extended Backus Naur Form).</li></ul></p>- Returns:
- possible object is
SvgPathDrawModeType
-
setPathDrawMode
public void setPathDrawMode(SvgPathDrawModeType value)
Sets the value of the pathDrawMode property.- Parameters:
value- allowed object isSvgPathDrawModeType- See Also:
getPathDrawMode()
-
isSetPathDrawMode
public boolean isSetPathDrawMode()
-
-