Geometry Markup

0     0     Edited Aug 31, 2015

Shapes are defined in SVG format. SVG stands for Scalable Vector Graphics, and it is a standard which is documented thoroughly here.

Note: In previous versions we used an XML specification for the geometry. We've changed it to use this more standard notation. If you created paths using XML, they will be automatically convert to the new form.

SVG data includes a set of commands. The following commands are supported in Report Builder:

MoveTo
ClosePath
LineTo
Cubic Bezier Curve
Quadratic Bezier Curve
(Elliptical Arc is not yet supported)

As an example, the following list of commands are used to create the shape "comments-o" from fontawesome.io:

figure 1.1


(Set Scale to 10000)

M 3928.57 714.29
q -853.79 0 -1595.98 290.18
t -1180.25 786.83
t -438.06 1065.85
q 0 457.59 295.76 881.7
t 831.47 736.61
l 541.29 312.5
l -195.31 468.75
q 189.73 -111.61 345.98 -217.63
l 245.54 -172.99
l 295.76 55.8
q 435.27 78.12 853.79 78.12
q 853.79 0 1595.98 -290.18
t 1180.25 -786.83
t 438.06 -1065.85
t -438.06 -1065.85
t -1180.25 -786.83
t -1595.98 -290.18
z
M 3928.57 0
q 1065.85 0 1972.66 382.25
t 1431.36 1040.74
t 524.55 1434.15
t -524.55 1434.15
t -1431.36 1040.74
t -1972.66 382.25
q -479.91 0 -982.14 -89.29
q -691.96 491.07 -1551.34 714.29
q -200.89 50.22 -479.91 89.29
h -16.74
q -61.38 0 -114.4 -44.64
t -64.17 -117.19
q -5.58 -16.74 -5.58 -36.27
t 2.79 -36.27
t 11.16 -33.48
l 13.95 -27.9
t 19.53 -30.69
t 22.32 -27.9
t 25.11 -27.9
t 22.32 -25.11
q 27.9 -33.48 128.35 -139.51
t 145.09 -164.62
t 125.56 -161.83
t 139.51 -214.84
t 114.4 -245.54
q -691.96 -401.79 -1088.17 -987.72
t -396.21 -1250
q 0 -775.67 524.55 -1434.15
t 1431.36 -1040.74
t 1972.66 -382.25
z
M 8515.62 6523.44
q 55.8 133.93 114.4 245.54
t 139.51 214.84
t 125.56 161.83
t 145.09 164.62
t 128.35 139.51
q 5.58 5.58 22.32 25.11
t 25.11 27.9
t 22.32 27.9
t 19.53 30.69
l 13.95 27.9
t 11.16 33.48
t 2.79 36.27
t -5.58 36.27
q -16.74 78.12 -72.54 122.77
t -122.77 39.06
q -279.02 -39.06 -479.91 -89.29
q -859.38 -223.21 -1551.34 -714.29
q -502.23 89.29 -982.14 89.29
q -1512.28 0 -2633.93 -736.61
q 323.66 22.32 491.07 22.32
q 898.44 0 1724.33 -251.12
t 1473.21 -719.87
q 697.54 -513.39 1071.43 -1183.04
t 373.88 -1417.41
q 0 -429.69 -128.35 -848.21
q 719.87 396.21 1138.39 993.3
t 418.53 1283.48
q 0 669.64 -396.21 1252.79
t -1088.17 984.93
z

In Report Builder, use the Formatting tab (top of page) to set Fill, Outline color and thickness.


Leave a Comment

Please sign in to leave a comment.