Mobile app version of vmapp.org
Login or Join
XinRu324

: Creating a colour border in inkscape I am making a poster with inkscape (version 0.9.1Ubuntu laptop 15.04 laptop). This is one of the first times I'm using inkscape to actually create something

@XinRu324

Posted in: #Borders #Inkscape

I am making a poster with inkscape (version 0.9.1Ubuntu laptop 15.04 laptop). This is one of the first times I'm using inkscape to actually create something instead of edit existing images. I would like to make a simple border with a specific colour and width.

What I have done previously in other applications such as LibreOffice Draw is to create an object as a group of rectangles which reproduces the border. I would preferably want to edit the page properties instead of add objects to the page. The only way I can think to do this right now is to add a base layer to the page, group four rectangles onto it in the shape of the border and then add transparent layers to that. I would like to avoid this though.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @XinRu324

2 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin459

It's possible when you open an existing SVG file -- created in an earlier version of Inkscape or possibly from some other application -- that there is no "page border", even when you try to set one.

When creating a new document, you will get a "page border" in the default view:



You can copy/paste objects from other SVG files into it, and the "page border" remains. This "border" can be customized: select the object, then use File > Document Properties... > Page [tab] to control the size, display, behaviour, and "look" of the border:



Using the "Resize page to content..." drop-down (must be toggled) allows you to ... resize the "page border" to the drawing or selection. There is also a wide selection of pre-sets for this space, as the above screenshot also demonstrates.

For OP's scenario, a "border" can be drawn, and then the Document Properties used to resize the "page" to this border/rectangle. The edges will be perfect.

10% popularity Vote Up Vote Down


 

@Kaufman565

The SVG standard does not have a concept of a "page" border like other programs you mentioned. The only way to do this with an SVG--and thus Inkscape--is to draw a rectangle for your border. Drawing a separate shape in Libreoffice instead of using a style's border settings would be bad practice--in SVG, it is not.

You can use the snapping feature in Inkscape to snap the cursor to the corners of objects (or the page itself) to make it easier to get the border in the correct spot. This site is not for tutorials on learning to use software though. Take a look at this tutorial from the Inkscape website for basic information on drawing.

Generally, when I want a border around something, I work on all the objects in that area, draw the border, and then group them together with Ctrl+G so they can be moved around.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme