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

Inherits BaseJavaClass.

Public Member Functions

 __construct ($javaClass)
 
 init ()
 
 isExplicitSizeInPixels ()
 
 setExplicitSizeInPixels (bool $explicitSizeInPixels)
 
 isTextDrawnInTextElement ()
 
 setTextDrawnInTextElement (bool $textDrawnInTextElement)
 
 setSvgColorMode (int $svgColorMode)
 
 getSvgColorMode ()
 
- Public Member Functions inherited from BaseJavaClass
 getJavaClass ()
 
 getJavaClassName ()
 
 isNull ()
 
 printJavaClassName ()
 

Additional Inherited Members

- Protected Member Functions inherited from BaseJavaClass
 setJavaClass ($javaClass)
 

Detailed Description

SVG parameters.

Constructor & Destructor Documentation

◆ __construct()

SvgParameters::__construct (   $javaClass)

Reimplemented from BaseJavaClass.

Member Function Documentation

◆ getSvgColorMode()

SvgParameters::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

◆ init()

SvgParameters::init ( )

Reimplemented from BaseJavaClass.

◆ isExplicitSizeInPixels()

SvgParameters::isExplicitSizeInPixels ( )

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

◆ isTextDrawnInTextElement()

SvgParameters::isTextDrawnInTextElement ( )

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

◆ setExplicitSizeInPixels()

SvgParameters::setExplicitSizeInPixels ( bool  $explicitSizeInPixels)

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

◆ setSvgColorMode()

SvgParameters::setSvgColorMode ( int  $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()

SvgParameters::setTextDrawnInTextElement ( bool  $textDrawnInTextElement)

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