Before we built a new calculator project, now I want to make a desktop icon for this calculator project, which can use sketch, which is a very good piece of software. To learn more about this software please visit "sketch China", which has a lot of professional demo and teaching materials.
In contrast to software such as PS, sketch is simply tailored for the mobile platform.
Open sketch, then choose New Desktop HD on the right, the main page is a bit like our xcode, the middle is the canvas, the right side is the inspector.
You can use the shortcut A to create an artboard, you can take the artboard as the top layer of the layer, the above free play. Then we use U to create a new rounded rectangle base. The backplane can also be aligned using guides, or directly using shortcut keys:
The size is set to 800*800, and the radius here is modified to 200, and now the image on the artboard is:
The Inspector interface is divided into several parts, the top of which is common properties such as position, size, transparency, fillet, and so on.
Then the border and fill properties:
Then choose a background color, here we use the gradient color, that is, the pattern in the box, you can also choose the first mode: solid color mode. In addition there are radial, annular and pattern, noise, to see a person's preferences.
Press ESC to exit edit mode when you are finished editing. Then copy a previous fillet matrix and modify the dimensions and background to the middle of the backplane:
Now this is what it looks like:
You can then modify the shadow of this small rounded rectangle:
Next, split the small fillet matrix with two lines, use the shortcut key L, and keep the horizontal vertical:
Add these two lines to the inspector in a bold, Thickness. It is also OK to select on the canvas in the left navigation bar, which is the same as the text outline in Xcode.
Modify the color of the line to close to the bottom of the backplane now style as follows:
Then shortcut t generates text, modifies the text size, and finally modifies the color, finished as follows:
Finally, click Export in the upper right corner and save it as PNG, save the icon name as Icon.png, and save it to the project will be automatically added as an icon. In the future, I made up a kind of app can also be equipped with a cool desktop icon.
On the sketch of Swift language IOS8 development war