A vector Layers is a type of layer that contains only vector elements.
This is how vector layers will appear in the Krita layer manager.
It shows the vector contents of the layer on the left side. The icon showing the page with the red bookmark denotes that it is a vector layer. To the right of that is the layers name. Below are the eye and the padlock icon. Clicking the eye will toggle visibility. Clicking the lock into a closed position will lock the content and editing will no longer be allowed until it is clicked again.
You can create a vector layer in two ways. Using the extra options from the add layer button you can click the "shape layer" item and it will create a new vector layer. You can also drag a rectangle or ellipse from the "Add shape" dock and if a paint layer is selected then a new vector layer will be created. If a vector layer is already selected, then the shape will be added to that layer.
|There is currently a bug regarding shape layers. If a shape layer is active and the standard draw tools are used:|
Once you have created a vector layer and you have created a vector shape on that layer you will most likely want to edit the shape and colors of your vector element. In order to select and manipulate a shape on a vector layer you will need to use the basic shape manipulation tool.
Once you have selected this tool. Click on the element you want to manipulate and you will see guides appear around your shape.
There are four ways to manipulate your image using this tool and the guides on your shape.
Using this feature of the tool allows you to move your object by clicking and dragging your shape around the canvas. Holding Control will lock your moves to one axis.
Using this feature of the tool allows you to stretch your shape. selecting a midpoint will allow stretching along one axis. Selecting a corner point will allow stretching across both axis. Holding Shift will allow you to scale your object. Holding Control will cause your manipulation to be mirrored across your object.
Using this feature of the tool will allow you to rotate your object around its center. Holding Control will cause your rotation to lock to 45 degree angles.
Using this feature of the tool will allow you to skew your object.
|At the moment there is no way to scale only one side of your vector object. The developers are aware that this could be useful and will work on it as manpower allows.|
By double clicking on a vector object you are able to edit the specific points or curves which make up the shape. Click and drag a point to move it around the canvas. Click and drag along a line to curve it between two points. Holding Control will lock your moves to one axis.
Besides being defined by points and curves a shape also has two defining properties: Fill and Stroke. Fill defines the color, gradient, or pattern that fills the space inside of the shape object. Stroke defines the color, gradient, pattern, and thickness of the border along the edge of the shape. These two can be edited using the "Stroke and Fill" dock. The dock has two modes. One for stroke and one for fill. You can change modes by clicking in the dock on the filled square or the black line. the active mode will be shown by which is on top of the other.
Here is the dock with the fill element active. Notice the red line across the solid white square. This tells us that there is no fill assigned therefore the inside of the shape will be transparent.
Here is the dock with the stroke element active.
The stroke properties dock will allow you to edit different aspect of how the outline of your vector shape looks.
The style selector allows you to choose different patters and line styles.
The width option changes the thickness of the outline on your vector shape.
The cap option changes how line endings appear.
The join option changes how corners appear.
The Miter limit controls how harsh the corners of your object will display. The higher the number the more the corners will be allowed to stretch out past the points. Lower numbers will restrict the stroke to shorter and less sharp corners.
All of the fill properties are contained in the Stroke and Fill dock.
The large red X button will set the fill to none causing the area inside of the vector shape to be transparent.
To the right of that is the solid square. This sets the fill to be a solid color which is displayed in the long button and can be selected by pressing the arrow just to the right of the long button.
To the right of the solid square is the gradient button. This will set the fill to display as a gradient. A gradient can be selected by pressing the down arrow next to the long button.
Under the X is a button that shows a pattern. This inside area will be filled with a pattern. A pattern can be chosen by pressing the arrows next to the long button.
As far as I can tell the other two buttons don't do anything. I may be wrong.