Learn how to use XD design primitives such as rectangles and ellipses, including the functionality to create custom rounded corners on rectangles, either all corners or to specific ones.
- [Tutor] To play with basic shapes in XD, or primitives, let's create a new infinite canvas here. And let's see them in action. So here go to the design tools on the left and also at first the rectangle to or the shortcut R. I can then hold shift to get a perfect square, or you fail that shift go, I can get to a more freeform rectangle when I'm done there.
One thing you notice this primitive has some elements to help me get to rounded corners. And as I play with this, take a look at the property inspector on the right. You see that the rounded corner is changing. If I wanna have just one side of this element changing I can hold option then click and drag, and now only one side is changing.
If I let that go and do it from scratch again here we set all sizes. So again, this is even all four corners and this is if I need to have different corners having different sizes. And as you can see here, XD gives me, a hint of what corner will get that property. And this follows the CSS model. If I for some reason, double click on this element, I get access to the anchor points that are creating this element.
If I don't make any change to this and I click outside, I still have control of my area here to get the rounded corners. But if I make a change to this, let's say play with this and I move it down here. You now, play with this guy, you now, also play with this. One thing you notice is that when I change the path, it becomes a real path not a primitive anymore. And I lose those elements that allowed me to get the rounded corner.
So I'll undo. And if I want to preserve that, I can do it that way. And this is very good. If you're designing, let's say a button, I can resize that. And you can see that as I resize my corners are preserved if it remains primitive, and now I can remove the border. And let's say, I wanna create a burner like that. It's very easy to get to that scenario. Cool. If I want to work with the next primitive the Ellipse tool, I select that and the shortcut is E then if I hold Shift, I get a perfect circle.
If I hold shift and option, I get a perfect circle starting from the center. And if I don't do anything, I get an ellipse as a draw here. And it's the same principle if I double click, I get access to the anchor point and I can play with this I can distort this vector. And one interesting fact here, is that if I hold option delete, I get rid of one of the sides here. So my last element can loose the connection so I can come up with some nice effect there.
So just a little trick there to help you. So next, let's learn how you can play with strokes to get to more realistic and useful designs in your project.
- Understanding all tools in Design mode
- Bringing files for Photoshop, Illustrator, and Sketch
- Working with text, vectors, image fills, and masks
- Repeating elements with the powerful Repeat Grid tool
- Resizing multiple elements with responsive resize
- Using the new Assets panel to manage symbols, colors, and character styles
- Sharing symbols across files, with text and image overrides
- Creating and consuming bitmaps and vectors from CC Libraries
- Extending the power of XD using great plugins