Quality Seal
A round grading seal for an inspection report or a quality certificate: a shaded disc with two rings, the awarding body's name on two lines at the top, a large grade in the middle, the tier under it and a gold star at the foot. It is one svg of 150 by 150, so it is drawn inside another svg, and several can stand side by side at different sizes.
- A grading seal. A shaded disc, a dark outer ring, a gold inner ring, the awarding body's name on two lines, a large grade, the tier and a gold star, on a 150 by 150 svg.
- Four params.
codeandregfill the two name lines,gradethe centre andtierthe line under it. - Placed inside an svg. An svg-level
usegives it a square box in the host's coordinates, so several seals stand side by side at different sizes. - Seven styles.
sealOrg,sealGrade,sealTier,sealOuter,sealMid,sealStarandsealGroundrestyle each part.
Place it with an svg-level use, giving its box in the host svg's coordinates; keep the box square:
{ "svg": { "viewBox": [516, 190], "width": 516, "height": 190, "title": "Grade seals of the three lots", "children": [ { "use": { "name": "quality-seal", "x": 11, "y": 8, "width": 150, "height": 150, "params": { "code": "VERDANIA", "reg": "STANDARDS", "grade": "A+", "tier": "ELITE" } } } ] } }
| Param | What it fills |
|---|---|
code | the first line of the awarding body's name, at the top |
reg | the second line of that name, under it |
grade | the large grade in the middle |
tier | the line under the grade |
Restyle the two name lines with sealOrg, the grade with sealGrade, the tier with sealTier, the outer ring with sealOuter, the inner gold ring with sealMid, the star with sealStar and the shaded disc with sealGround. See Customizing a component.
The Composable Seals figure places it three times on one baseline, one seal per lot, each sized in proportion to the lot's volume.
Features used: SVG, data binding
- Output
- Template
- Data