3.6 Borders, Border Settings, Multiple Borders
Gravit’s border system is a lot like its fill system, with multiple types of borders and the ability to stack borders on the same shape. Let’s take a look at how these borders work and what you can achieve with them.
1.Introduction1 lesson, 00:54
2.Say “Hello” to Gravit Designer4 lessons, 32:43
3.Working With Gravit Designer8 lessons, 1:13:07
4.Extra Functionality and Utilities4 lessons, 18:17
5.Conclusion1 lesson, 01:35
3.6 Borders, Border Settings, Multiple Borders
Welcome back to Gravit Designer Quick Start. In this lesson, we're gonna go through and check out the border system for Gravit Designer. So we're gonna start by just drawing out a square, rectangle, that we can use to start applying some borders too to see how all of these works. And the border system is very similar to the field system that we just went over to add a border. You hit this little plus button on the right of the border section here. And you can set the width of your border in this little field here, so let's just up that to 10, so it's nice and easy to see. You can show or hide any border just like with fills. And if you wanna have multiple borders, then you can just keep adding as many borders as you like stacking on top of one another. Let's remove those extras. Another aspect in which borders are the same as fields is if you click on the color selector here, you have all of the same options available to you. You even have all the same gradients and the ability to add textures, so you can have all the same kind of cool visual effects. So given all of this is the same on borders as it is fills, that's not the area that you wanna look at for border settings. Instead, with the little pink line showing up on the left side of the currently selected border, then you can hit this button here to go up to Advanced stroke settings. So let's have a look at a couple of examples of things you could do. Up here, we can control the position of a stroke relative to the path that you're applying that stroke to. So right now, the position of the stroke is centered, so that means with a stroke of 10 pixels width, we have 5 pixels on one side of the path and five pixels on the other. So we can change that, so that all 10 pixels are inside the path or that all 10 pixels are outside the path. Using these settings in combination with the ability to have multiple borders means you can do things like having one color border on the outside of the path and another colored border on the inside of the path. So keep go ahead and add another border. We can change that to be 10 pixels as well. We change its color to a darker grey. And then with this border selected, open up the settings and set this one to be on the inside. So now, we've got these two borders working independently of each other with different settings applied to them. You can also do the type of layering that we saw in the last lesson with the fill system. So for example, I can create another 10 pixel border, have this one on the outside, and I can use it to do something like putting a texture. So I'm just gonna grab that same brick texture that I had before, over the top of the border that's showing up underneath it. So I can then change the opacity of that border, so that it blends in with the blackboard that is behind it. So I'm just gonna undo, adding some of those borders, so we can just get back to a basic single border, so I can show you more of the settings. You also have the ability to turning lines into dash lines, or borders, rather. So for example, I can enter a value of say 15 to get a nice dashed effect around the outside, and I can also control the size of the gaps in between those dashes. For these other settings down here, I'm actually going to delete this rectangle, and I'm just gonna add in a line instead, Just up the width of that border. Now, if I go up here, I actually have the ability to add arrowheads to either end of this line. So I can choose any type of arrowhead that I want for either end of the line. They can be different on each end. I can determine the size of the arrowhead compared to the line itself. So it can be larger or smaller depending on what percentage value you insert here. I can also set whether the arrowhead should be done as an outline, or whether it should be solid. And whether the arrowhead should be positioned inside the line as we have right now, or on the end of the line. And we can change these settings for both of the ends independently of one another. So we get rid of those. You can also see, let's scroll a little, so we see it a bit more clearly, That we have different types of ends here that we can put on our lines. So if we hit this round option here, you can see that it rounds off that shape. And if we choose this Butt option here, and rather than the line going around the end of the node. Then it slices itself off exactly where the node is, right in the center of the node. And now, I'm just going to add an extra line, so that we can have a look at, The Joint section. By default, we just have a square joint called a miter. So you can see that there, that's just a very square corner on the join there, but we can also round it off. This is zooming in a little further, so you can see that better. So we have a nice round join there or we can have a bevel join. So we actually have quite a bit of control of exactly how our lines behave. And then the last thing that you're gonna wanna know how to do is, right now, the nodes that form this path are very simple, we just have these three nodes. But what if I want to actually get in and start manipulating this whole shape that I've created here? Well, what I can do then is right-click on the shape and choose Victorize Border. So now, what that's done instead of just having a few simple nodes, we have nodes that we can use to manipulate every single part of what was once a border around a two-part line. So that covers all the border settings and functionality you need to know about. We had to cover that pretty quickly because a lot of the functionality is shared with the fill functionality. And now, we have one more section over here that we're going to take a closer look at and that is this Effects section. Now, these effects are really awesome, you can stack as many as you want on any given shape. They're non-destructive and you can come back and edit them any time. And we're gonna take a closer look at these in the next lesson. I'll see you there.