Revision Date: 27 August 2015
This tool is used to draw lines and curves. These two abilities are grouped into a single tool because a line is actually a perfectly straight curve. In other words, this tool
always draws curves, where a straight line is a subset involving no actual curvature.
Drawing a line is straightforward: click where the line begins and drag the mouse pointer to the end point. Releasing the mouse button ends the "drawing" phase.
Using the Left Mouse button renders the line with the Primary color.
Using the Right Mouse Button renders the line in the Secondary color.
When the drawing phase is ended, four control nubs appear on the line and the four-way move icon appears just off the end point of the line.
The Control Nubs and Move icon pulsate to make them easier to distinguish.
If a single, straight line is desired, press the Enter key or click the Finish button in the Tool Bar to commit the line to the canvas.
Drawing elsewhere on the canvas finishes any previous line and starts a new one.
Holding down the Shift key before releasing the mouse button constrains the line to angles that are multiples of 15 degrees, e.g. 0°, 15°, 30°, 45° 60° and so on.
If a curve is desired, drag the control nubs to a new location by clicking and dragging.
There are two icons in the Tool Bar for changing between Cubic Spline and Bézier curves.
These replace the Right click & drag that paint.net 3.5x used.
If the Left icon is selected, the line will be curved using cubic spline interpolation.
It will always continue through each of the Control Nubs, even if the nubs are relocated or dragged off canvas.
When a nub is moved, the curve will be redrawn so that it always goes through the center of each Control Nub.
If the Right icon is selected, a nub, a Bézier curve results.
With this curve type, the curve will extend from the first or origin Control Nub to the last or destination Control Nub.
The second and third Control Nubs modify the curve along its path. The curve will not necessarily touch either the second or third Control Nub.
Some types of Bézier curves cannot be drawn using the Cubic Spline type.
Switch between curve types by toggling between the two Curve Icons in the Tool Bar.
The curve will be reinterpreted based on the curve type and current location of the Control Nubs.
Brush Width, Line Style and Fill
Lines and curves are subject to the Brush settings in the Tool Bar.
Brush Width, Line Styles & Fill Type are all configurable.
The Line/Curve can have different start cap, dash style, and end cap. The start- and end-caps can be flat (normal), one of two arrow head types, or rounded. The dash style can be either solid or a combination of dashes and dots.
Using Brush Width & Line Styles lines like these can be drawn:
Lines and curves can be rendered using a Fill Type as specified in the Tool Bar.
This feature allows the line/curve to be filled with one of numerous patterns rather than a solid color.
Fills utilizing a fill style will make use of both the Primary and Secondary colors.
Lines and curves can be applied using a Blend Mode selected from the Tool Bar.
The line/curve will be applied in accordance with the other parameters then reinterpreted as if the pixels were on their own layer with the layer blend mode set.
Tool Bar Blend Modes