In graphics drawing, triangles are a common shape, and it is important to master how to draw different triangles. PHP editor Baicao has compiled a variety of methods for drawing triangles, hoping to help everyone easily cope with various triangle drawing needs. The following article will introduce these methods in detail to help you master triangle drawing skills. Please continue reading to learn more!
First we use the [Pen] tool, and then select [Path] in the mode above. Then we can get three points on the canvas and form the triangle shape you want.
After drawing, we go to the [Path] interface, where there will be [Working Path], right-click [Create Selection] (shortcut key CTRL + left mouse button).
#After creation, you will find that the triangle you drew has been established as a selection.
Then we click on the upper menu [Edit] - [Fill] (shortcut key SHIFT+F5), and use the selection as the foreground color in the fill interface.
After clicking OK, your triangle will be drawn. Note that if you want a hollow triangle, just select [Edit] - [Stroke].
We select the [Rectangle Tool], select [Shape] in the mode above, and then you first draw a rectangle on the canvas. If you want to make an isosceles triangle, Then press SHIFT to draw a square.
Then we use the [Direct Selection Tool] to select any of the four endpoints of the square.
Press DELETE to delete, and then you will find that the square turns into a triangle. Isn’t it very simple?
The above is the detailed content of How to draw a triangle in PS_Learn about these methods. For more information, please follow other related articles on the PHP Chinese website!