Aspose.Barcode for Python via Java Generation and Recognition API docs
SvgParameters Class Reference

SVG parameters. More...

Inherits BaseJavaClass.

Public Member Functions

None __init__ (self, javaClass)
 
SvgColorMode getSvgColorMode (self)
 Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1. More...
 
None init (self)
 
bool isExplicitSizeInPixels (self)
 Does SVG image contain explicit size in pixels (recommended) Default value: True. More...
 
bool isTextDrawnInTextElement (self)
 Does SVG image contain text as text element rather than paths (recommended) Default value: True. More...
 
None setExplicitSizeInPixels (self, bool explicitSizeInPixels)
 Does SVG image contain explicit size in pixels (recommended) Default value: True. More...
 
None setSvgColorMode (self, SvgColorMode svgColorMode)
 Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1. More...
 
None setTextDrawnInTextElement (self, bool textDrawnInTextElement)
 Does SVG image contain text as text element rather than paths (recommended) Default value: True. More...
 
- Public Member Functions inherited from BaseJavaClass
def getJavaClass (self)
 
str getJavaClassName (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

SVG parameters.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
  javaClass 
)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ getSvgColorMode()

SvgColorMode getSvgColorMode (   self)

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

◆ init()

None init (   self)

Reimplemented from BaseJavaClass.

◆ isExplicitSizeInPixels()

bool isExplicitSizeInPixels (   self)

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

◆ isTextDrawnInTextElement()

bool isTextDrawnInTextElement (   self)

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

◆ setExplicitSizeInPixels()

None setExplicitSizeInPixels (   self,
bool  explicitSizeInPixels 
)

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

◆ setSvgColorMode()

None setSvgColorMode (   self,
SvgColorMode  svgColorMode 
)

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

◆ setTextDrawnInTextElement()

None setTextDrawnInTextElement (   self,
bool  textDrawnInTextElement 
)

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