SvgParameters

Inheritance: java.lang.Object

public class SvgParameters

SVG parameters.

Methods

MethodDescription
equals(Object arg0)
getClass()
getSvgColorMode()Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1.
hashCode()
isExplicitSizeInPixels()Does SVG image contain explicit size in pixels (recommended) Default value: true.
isTextDrawnInTextElement()Does SVG image contain text as text element rather than paths (recommended) Default value: true.
notify()
notifyAll()
setExplicitSizeInPixels(boolean explicitSizeInPixels)Does SVG image contain explicit size in pixels (recommended) Default value: true.
setSvgColorMode(SvgColorMode value)Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1.
setTextDrawnInTextElement(boolean textDrawnInTextElement)Does SVG image contain text as text element rather than paths (recommended) Default value: true.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getSvgColorMode()

public SvgColorMode getSvgColorMode()

Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1. RGBA, HSL, HSLA is allowed in SVG 2.0 standard. Even in RGB opacity will be set through “fill-opacity” parameter

Returns: com.aspose.barcode.generation.SvgColorMode

hashCode()

public native int hashCode()

Returns: int

isExplicitSizeInPixels()

public boolean isExplicitSizeInPixels()

Does SVG image contain explicit size in pixels (recommended) Default value: true.

Returns: boolean

isTextDrawnInTextElement()

public boolean isTextDrawnInTextElement()

Does SVG image contain text as text element rather than paths (recommended) Default value: true.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setExplicitSizeInPixels(boolean explicitSizeInPixels)

public void setExplicitSizeInPixels(boolean explicitSizeInPixels)

Does SVG image contain explicit size in pixels (recommended) Default value: true.

Parameters:

ParameterTypeDescription
explicitSizeInPixelsboolean

setSvgColorMode(SvgColorMode value)

public void setSvgColorMode(SvgColorMode value)

Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1. RGBA, HSL, HSLA is allowed in SVG 2.0 standard. Even in RGB opacity will be set through “fill-opacity” parameter

Parameters:

ParameterTypeDescription
valuecom.aspose.barcode.generation.SvgColorMode

setTextDrawnInTextElement(boolean textDrawnInTextElement)

public void setTextDrawnInTextElement(boolean textDrawnInTextElement)

Does SVG image contain text as text element rather than paths (recommended) Default value: true.

Parameters:

ParameterTypeDescription
textDrawnInTextElementboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int