340
edits
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
Back to: [[SigServer:Documentation]] | Back to: [[SigServer:Documentation]] | ||
= Root Element = | |||
Each signature is required to have a root element, <signature> in this case. The root tag accepts the attribute quality. It set's the quality when output as JPEG is selected. It may be set to anything between 0 - 100, default 90. | Each signature is required to have a root element, <signature> in this case. The root tag accepts the attribute quality. It set's the quality when output as JPEG is selected. It may be set to anything between 0 - 100, default 90. | ||
Line 12: | Line 12: | ||
The root element has two child elements, [[#Variables|<variables>]] and [[#Layout|<layout>]]. | The root element has two child elements, [[#Variables|<variables>]] and [[#Layout|<layout>]]. | ||
== Variables == | |||
Inside this element you may define your own variables or override an elements default value. | Inside this element you may define your own variables or override an elements default value. | ||
=== User defined variables === | |||
To define a variable the <set> tag is used. It has the two attributes, name and value. | To define a variable the <set> tag is used. It has the two attributes, name and value. | ||
Line 27: | Line 27: | ||
The example above defines the variable ''@foo'' which has the value ''bar''. Note that the @ should not be included in the variable's name. | The example above defines the variable ''@foo'' which has the value ''bar''. Note that the @ should not be included in the variable's name. | ||
=== Override default value === | |||
'''NOTE: Only text element supported for now.''' | '''NOTE: Only text element supported for now.''' | ||
Line 41: | Line 41: | ||
The example sets the default attribute ''face'' of the element ''text'' to ''courier''. | The example sets the default attribute ''face'' of the element ''text'' to ''courier''. | ||
== Layout == | |||
All text, shapes and images are controlled by sub elements to <code><layout></code>. | All text, shapes and images are controlled by sub elements to <code><layout></code>. | ||
=== Image === | |||
The <code><image></code> tag allows the user to include an image, chosen from the collection in the library section. | The <code><image></code> tag allows the user to include an image, chosen from the collection in the library section. | ||
Line 58: | Line 58: | ||
|} | |} | ||
=== Shape === | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 79: | Line 79: | ||
|} | |} | ||
=== Text === | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 104: | Line 104: | ||
|} | |} | ||
==== Line ==== | |||
{| class="wikitable" | {| class="wikitable" |