Skip to main content

Decorative Frame

An ornamental border for a landscape certificate or a formal notice: a double rule around the page, a diamond at the centre of the top and bottom edges, and a bracket in each corner. It is one svg of 760 by 580, so it is drawn inside another svg, most often a page watermark that puts it behind the text.

  • A double rule with ornaments. Two rectangles, a diamond at the centre of the top and bottom edges and a bracket in each corner, on a 760 by 580 svg.
  • Placed in a watermark. An svg-level use in a page watermark's svg sets it 16 points in from each edge of a landscape Letter page, behind the text.
  • Inked by the use. It declares no styles: the style on the use, such as frameGold, gives every line its stroke and strokeWidth, with fill: none.
  • No params. One frame serves every certificate of a suite, recoloured by the style each passes.

Place it in a watermark's svg, set in 16 points from each edge of a landscape Letter page:

{ "watermarks": [ { "scope": "page", "repeat": false, "content": { "svg": { "viewBox": [792, 612], "children": [ { "use": { "name": "deco-frame", "x": 16, "y": 16, "width": 760, "height": 580, "style": "frameGold" } } ] } } } ] }

It takes no params and declares no styles: the style on the use inks it. The certificate suite passes frameGold, frameBurgundy or frameForest, each a fill: none style with a stroke colour and a strokeWidth of 1.5. See Customizing a component and Watermarks.

The Certificate Suite draws it on each of its three certificates in that certificate's colour, over a guilloche plate.

Features used: SVG

The component on a sheet of its ownTry in Playground →