\SVGTemplate
Class SVGTemplate
Synopsis
class SVGTemplate
extends ViewableData
{
- // members
- private static string $base_path = 'themes/mytheme/svg/';
- private static string $save_path = 'themes/mytheme/combined/';
- private static array $default_template_vars = ;
- private array $template_vars = ;
- private $custom_css;
- private string $file_mod_string = '';
- private $custom_save_path;
- private static boolean $remove_style_tag = true;
- private static string $extension = 'svg';
- private static array $default_extra_classes = ;
- private $path;
- private $fill;
- private $stroke;
- private $width;
- private $height;
- private $custom_base_path;
- private $extraClasses;
- private $subfolders;
- // methods
- public void __construct()
- public $this fill()
- public $this stroke()
- public $this width()
- public $this height()
- public $this size()
- public $this customBasePath()
- public $this customSavePath()
- public $this extraClass()
- public $this addSubfolder()
- public void SetVar()
- public void CSS()
- public void CSSProp()
- private string process()
- private void buildPath()
- public string forTemplate()
- public void URL()
Hierarchy
Extends
- ViewableData
Members
private
- $base_path
—
string
The base path to your SVG location - $custom_base_path — string
- $custom_css
- $custom_save_path
- $default_extra_classes — array
- $default_template_vars
- $extension — string
- $extraClasses — array
- $file_mod_string
- $fill — string
- $height — string
- $path — string
- $remove_style_tag
- $save_path
- $stroke — string
- $subfolders — array
- $template_vars
- $width — string