Custom shapes work in much the same way as custom patterns. First you make the shape using a standard empty document and using any of the vector based tools or selection tools. This can be the pen tool or any of the custom shape tools. Here’s my way of doing it although there are many others.
You can create shapes from anything. You could use the pen tool, or any of the shape tools. In this example I’m going to take a sketch of an apple and make it a custom shape. First I start by using the Magic Wand tool to trace the outline of the sketch.
Once you have selection right click and choose Make Work Path. This makes your selection into a Path.
If you are not happy with how it has turned out you can use the Direct Selection Tool or the Pen Tool to fine tune corners and edges.
Once you have a path you are happy with pull up the Paths pane. You can find this as a tab in the Layers pane or by going to Window > Paths. You will see your path at the top of the pane. In the bottom left of the pane is a small dark circle. If you hover over it it will say “Fill Path With Foreground Color”. If you click on it it will do just that.
Now go to Edit > Define Custom Shape to add this shape into your library. That’s it. The shape is now available as a vector shape using the Custom Shape Tool (shortcut U). Having a good library of shapes is invaluable for giving extra touches to designs.
Have an update or suggestion for this article? You can edit it here and send me a pull request.
Using HashiCorp Vault with LDAP
How to use HashiCorp Vault to setup an LDAP backed secret store with read-only access for users in groups and read-write access for specific users
Linux and Unix xargs command tutorial with examples
Tutorial on using xargs, a UNIX and Linux command for building and executing command lines from standard input. Examples of cutting by character, byte position, cutting based on delimiter and how to modify the output delimiter.
Copy a file in Go
How to copy a file in Go. The ioutil package does not offer a shorthand way of copying a file. Instead the os package should be used.