svg_a (line 25)
This function is used to build an SVG <a> tag
Asvgtag
svg_a
(
string $xlinkhref,
mixed 1)
-
mixed
1: - any N number of params for content for the tag
-
string
$xlinkhref: - the 'xlink:href' attribute
svg_animate (line 48)
This function is used to build an SVG <animate> tag
ANIMATEsvgtag
svg_animate
(
string $from,
string $to,
string $duration,
string $attributename,
string $attributetype, [
string $repeatcount =
NULL], [
string $fill =
NULL])
-
string
$from: - the 'from' attribute
-
string
$to: - the 'to' attribute
-
string
$duration: - the 'duration' attribute
-
string
$attributename: - the 'attributeName' attribute
-
string
$attributetype: - the 'attributeType' attribute
-
string
$repeatcount: - the 'repeatCount' attribute
-
string
$fill: - the 'fill' attribute
svg_circle (line 81)
This function is used to build an SVG <circle> tag and its common attributes
CIRCLEsvgtag
svg_circle
(
int $cx,
int $cy,
string $radius, [
string $fill =
"none"], [
string $stroke =
NULL], [
string $strokewidth =
NULL], [
string $style =
NULL])
-
int
$cx: - the 'cx' attribute. The x-axis coordinate of the center of the circle
-
int
$cy: - the 'cy' attribute. The y-axis coordinate of the center of the circle
-
string
$radius: - the 'r' (radius) attribute
-
string
$fill: - the 'fill' attribute
-
string
$stroke: - the 'stroke' attribute
-
string
$strokewidth: - the 'stroke-width' attribute
-
string
$style: - the 'style' attribyte
svg_defs (line 108)
This function is used for building an SVG <defs> tag
DESCsvgtag
svg_defs
([
mixed 0 =
- any N number of params for content for the tag])
-
mixed
0: - any N number of params for content for the tag
svg_desc (line 123)
This function is used for building an SVG <desc> tag
DESCsvgtag
svg_desc
([
mixed 0 =
- any N number of params for content for the tag])
-
mixed
0: - any N number of params for content for the tag
svg_ellipse (line 150)
This function is used to build an SVG <ellipse> tag and its common attributes
ELLIPSEsvgtag
svg_ellipse
(
int $cx,
int $cy,
int $rx,
int $ry, [
string $fill =
"none"], [
string $stroke =
NULL],
string $strokewidth, [
string $style =
NULL])
-
int
$cx: - the 'cx' attribute. The x-axis coordinate of the center of the circle
-
int
$cy: - the 'cy' attribute. The y-axis coordinate of the center of the circle
-
int
$rx: - the 'rx' attribute. The x-axis radius of the ellipse.
-
int
$ry: - the 'ry' attribute. The y-axis radius of the ellipse.
-
string
$fill: - the 'fill' attribute
-
string
$stroke: - the 'stroke' attribute
-
string
$strokewidth: - the 'stroke-width' attribute
-
string
$style: - the 'style' attribyte
svg_font (line 176)
this function builds an SVG <font> tag
-
string
$horizadvx: - the required 'horiz-adv-x' attribute
svg_g (line 194)
This function builds an SVG <g> tag
Gsvgtag
svg_g
([
string $style =
NULL], [
string $transform =
NULL])
-
string
$style: - the 'style' attribute
-
string
$transform: - the 'transform' attribute
svg_line (line 222)
This function is used for building an SVG <line> tag
LINEsvgtag
svg_line
(
int $x1,
int $y1,
int $x2,
int $y2, [
string $stroke =
NULL],
string $strokewidth, [
string $style =
NULL])
-
int
$x1: - the 'x1' attribute
-
int
$y1: - the 'y1' attribute
-
int
$x2: - the 'x2' attribute
-
int
$y2: - the 'y2' attribute
-
string
$stroke: - the 'stroke' attribute
-
string
$strokewidth: - the 'stroke-width' attribute
-
string
$style: - the 'style' attribute
svg_marker (line 252)
This function is used for building an SVG <marker> tag
MARKERsvgtag
svg_marker
(
string $refx,
string $refY, [
string $markerunits =
NULL], [
string $markerwidth =
NULL], [
string $markerheight =
NULL], [
string $orient =
NULL])
-
string
$refx: - the 'refX' attribute
-
string
$refY: - the 'refY' attribute
-
string
$markerunits: - the 'markerUnits' attribute
-
string
$markerwidth: - the 'markerWidth' attribute
-
string
$markerheight: - the 'markerHeight' attribute
-
string
$orient: - the 'orient' attribute
svg_polygon (line 286)
This function is used for building an SVG <polygon> tag
POLYGONsvgtag
svg_polygon
(
int $points, [
string $fill =
"none"], [
string $stroke =
NULL],
string $strokewidth, [
string $style =
NULL])
-
int
$points: - the 'points' attribute
-
string
$fill: - the 'fill' attribute
-
string
$stroke: - the 'stroke' attribute
-
string
$strokewidth: - the 'stroke-width' attribute
-
string
$style: - the 'style' attribute
svg_polyline (line 322)
This function is used for building an SVG <polyline> tag
POLYLINEsvgtag
svg_polyline
(
int $points, [
string $fill =
"none"], [
string $stroke =
NULL],
string $strokewidth, [
string $style =
NULL])
-
int
$points: - the 'points' attribute
-
string
$fill: - the 'fill' attribute
-
string
$stroke: - the 'stroke' attribute
-
string
$strokewidth: - the 'stroke-width' attribute
-
string
$style: - the 'style' attribute
svg_rect (line 404)
This function is used to build an SVG <rect> tag and its common attributes
RECTsvgtag
svg_rect
(
int $x,
int $y,
string $width,
string $height, [
string $fill =
NULL], [
string $stroke =
NULL], [
string $strokewidth =
NULL], [
string $style =
NULL])
-
int
$x: - the 'x' attribute
-
int
$y: - the 'y' attribute
-
string
$width: - the 'width' attribute
-
string
$height: - the 'height' attribute
-
string
$fill: - the 'fill' attribute
-
string
$stroke: - the 'stroke' attribute
-
string
$strokewidth: - the 'stroke-width' attribyte
-
string
$style: - the 'style' attribyte
svg_script (line 358)
This function creates a <script> tag and wraps the javascript in the appropriate <![CDATA[ JAVASCRIPT ]]> that is required for svg.
SCRIPTsvgtag
svg_script
([
string $type =
"text/javascript"],
mixed 1)
-
mixed
1: - any N number of params for content for the tag
-
string
$type: the 'type' attribute
svg_style (line 378)
This function creates a <script> tag and wraps the javascript in the appropriate <![CDATA[ JAVASCRIPT ]]> that is required for svg.
SCRIPTsvgtag
svg_style
([
string $type =
"text/css"],
mixed 1)
-
mixed
1: - any N number of params for content for the tag
-
string
$type: the 'type' attribute
svg_text (line 438)
This function is used to build an SVG <text> tag
TEXTsvgtag
svg_text
(
int $x,
int $y, [
string $rotate =
NULL], [
style $class =
NULL],
mixed 4)
-
mixed
4: - any N number of params for content for the tag
-
int
$x: - the 'x' attribute
-
int
$y: - the 'y' attribute
-
string
$rotate: - the 'rotate' attribute
-
style
$class: - the 'class' attribute
svg_textpath (line 464)
This function is used to build an SVG <textpath> tag.
TEXTPATHsvgtag
svg_textpath
(
string $xlinkhref, [
string $class =
NULL],
mixed 2)
-
mixed
2: - any N number of params for content for the tag
-
string
$xlinkhref: - the 'xlink:href' attribute
-
string
$class: - the 'class' attribute
svg_tref (line 487)
This function is used to build an SVG <tref> tag
TREFsvgtag
svg_tref
(
string $xlinkhref, [
string $class =
NULL],
mixed 2)
-
mixed
2: - any N number of params for content for the tag
-
string
$xlinkhref: - the 'xlink:href' required attribute
-
string
$class: - the 'class' attribute
svg_tspan (line 509)
This function is used to build an SVG <tref> tag.
TSPANsvgtag
svg_tspan
(
string $x,
string $y, [
string $class =
NULL])
-
string
$x: - the 'x' attribute
-
string
$y: - the 'y' attribute
-
string
$class: - the 'class' attribute