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

SVG parameters. More...

Inherits _MwWrapper.

Public Member Functions

None __init__ (self, _java_class)
 
bool explicit_size_in_pixels (self)
 Does SVG image contain explicit size in pixels (recommended). More...
 
None explicit_size_in_pixels (self, bool value)
 Does SVG image contain explicit size in pixels (recommended). More...
 
SvgColorMode svg_color_mode (self)
 Possible modes for filling color in SVG file, RGB is default and supported by SVG 1.1. More...
 
None svg_color_mode (self, SvgColorMode value)
 Possible modes for filling color in SVG file, RGB is default and supported by SVG 1.1. More...
 
bool text_drawn_in_text_element (self)
 Does SVG image contain text as text element rather than paths (recommended). More...
 
None text_drawn_in_text_element (self, bool value)
 Does SVG image contain text as text element rather than paths (recommended). More...
 

Detailed Description

SVG parameters.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self,
  _java_class 
)

Member Function Documentation

◆ explicit_size_in_pixels() [1/2]

bool explicit_size_in_pixels (   self)

Does SVG image contain explicit size in pixels (recommended).

Default value: True.

◆ explicit_size_in_pixels() [2/2]

None explicit_size_in_pixels (   self,
bool  value 
)

Does SVG image contain explicit size in pixels (recommended).

Default value: True.

◆ svg_color_mode() [1/2]

SvgColorMode svg_color_mode (   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.

◆ svg_color_mode() [2/2]

None svg_color_mode (   self,
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.

◆ text_drawn_in_text_element() [1/2]

bool text_drawn_in_text_element (   self)

Does SVG image contain text as text element rather than paths (recommended).

Default value: True.

◆ text_drawn_in_text_element() [2/2]

None text_drawn_in_text_element (   self,
bool  value 
)

Does SVG image contain text as text element rather than paths (recommended).

Default value: True.