You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
568tools/tools/Open-Photopea/learn/vg-creating.html

159 lines
7.4 KiB

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0" />
<title>Photopea - Creating Shapes</title>
<link rel="stylesheet" href="https://blog.photopea.com/wp-content/themes/simplex/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i" />
</head>
<body>
<div id="page">
<div id="header">
<a href="index.html" class="title">Learn Photopea</a>
<!--<p>Web-based image editor.</p>-->
<a href="https://blog.photopea.com">Blog</a> |
<a class="curr" href="index.html">Learn</a> |
<a href="../tuts/index.html">Tutorials</a> |
<a href="../api/index.html">API</a> |
<a href="https://www.facebook.com/photopea">Facebook</a> |
<a href="https://www.twitter.com/photopeacom">Twitter</a>
</div>
<div id="main" style="max-width:1000px;">
<div id="sidebar" style="width:22%;">
<h3>Topics</h3>
<ul>
<li class="lvl0"><a href="index.html">Introduction</a></li>
<li class="lvl0"><a href="workspace.html">Workspace</a></li>
<li class="lvl1"><a href="opening-saving.html">Open and Save</a></li>
<li class="lvl1"><a href="navigation.html">Navigation</a></li>
<li class="lvl1"><a href="image-size.html">Image size</a></li>
<li class="lvl0"><a href="layers.html">Layers</a></li>
<li class="lvl1"><a href="masks.html">Masks</a></li>
<li class="lvl1"><a href="layer-styles.html">Layer Styles</a></li>
<li class="lvl1"><a href="smart-objects.html">Smart Objects</a></li>
<li class="lvl1"><a href="other-layers.html">Other Layers</a></li>
<li class="lvl0"><a href="layer-manipulation.html">Layer Editing</a></li>
<li class="lvl1"><a href="free-transform.html">Free Transform</a></li>
<li class="lvl1"><a href="adjustments-filters.html">Adjust. &amp; Filters</a></li>
<li class="lvl0"><a href="selections.html">Selections</a></li>
<li class="lvl1"><a href="creating-selections.html">Make Selections</a></li>
<li class="lvl1"><a href="advanced-selecting.html">Advanced Selecting</a></li>
<li class="lvl1"><a href="refine-edge.html">Refine Edge</a></li>
<li class="lvl1"><a href="moving-selected-data.html">Move Selected Data</a></li>
<li class="lvl0"><a href="brush-tools.html">Brush Tools</a></li>
<li class="lvl1"><a href="bt-basic.html">Basic Tools</a></li>
<li class="lvl1"><a href="bt-advanced.html">Advanced Tools</a></li>
<li class="lvl1"><a href="bt-smart.html">Smart Tools</a></li>
<li class="lvl0"><a href="text.html">Text</a></li>
<li class="lvl1"><a href="text-style.html">Text Style</a></li>
<li class="lvl0"><a href="vector-graphics.html">Vector Graphics</a></li>
<li class="lvl1"><a href="vg-structure.html">The Structure</a></li>
<li class="lvl1"><a href="vg-manipulation.html">Editing Shapes</a></li>
<li class="lvl1 active"><a href="vg-creating.html">Creating Shapes</a></li>
<li class="lvl0"><a href="other.html">Other</a></li>
<li class="lvl1"><a href="guides-grid-snapping.html">Guides &amp; Snapping</a></li>
<li class="lvl1"><a href="animations.html">Animations</a></li>
<li class="lvl1"><a href="layer-comps.html">Layer Comps</a></li>
<li class="lvl1"><a href="scripts.html">Scripts</a></li>
</ul>
</div>
<div id="content" style="width:78%;">
<div class="post">
<h1>Creating shapes</h1>
<p>Photopea offers several tools for creating vector graphics: Pen, Free Pen, Rectangle, Ellipse, Polygon etc..
Each tool has one of three modes, which you can switch in the top menu.</p>
<img src="https://i.imgur.com/tndO7TS.png" />
<ul>
<li><b>Path</b> - adds a new path into an existing shape</li>
<li><b>Shape</b> - creates a new Shape layer</li>
<li><b>Pixels</b> - the result is rasterized immidiatelly, then combined with a current raster layer</li>
</ul>
<p>When you choose the Path mode, you can also choose the boolean operation, that will be used for new paths.</p>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block; text-align:center;"
data-ad-layout="in-article"
data-ad-format="fluid"
data-ad-client="ca-pub-0885095539348241"
data-ad-slot="5352893134"></ins>
<script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
<h2><img class="inline" src="../img/tools/pen.png" />Pen</h2>
<p>This tool allows you to create paths knot - by - knot. Press in the image to add a knot.
Then drag and release to add handles, or release immidiatelly to keep handles collapsed.
Clicking again on the first knot in the path will close the path.</p>
<p>If there is one knot already selected, the new knot is added right after that knot (into the same path).
Otherwise, the new path is started, and the knot becomes the first knot in the new path.</p>
<p>The regular usage is to click to start a new path, then keep clicking to add more knots
(since each new knot is selected after adding, so the next knot is added right after it).
But you can also select some knot manually (with Direct Select) and new knots will be added after it (into an existing path).</p>
<h2><img class="inline" src="../img/tools/fpen.png" />Free Pen</h2>
<p>Click with mouse and draw some shape. Then, release the mouse. Your stroke will be converted into a smooth vector curve.
Change the Tolerance value to make a curve smoother.</p>
<h2>
<img class="inline" src="../img/tools/rect.png" />
<img class="inline" src="../img/tools/ellipse.png" />
<img class="inline" src="../img/tools/line.png" />
Specific shapes</h2>
<p>Click and drag with a mouse to draw a path with the specific geometric shape. Hold Shift to keep the proportions of the new path.</p>
<h2>
<img class="inline" src="../img/tools/cshape.png" />Custom shape</h2>
<p>With this tool, you can add a complex shape from the current gallery of shapes.
You can import your own collections of shapes in a CSH format using File - Open.</p>
<h2>
<img class="inline" src="../img/tools/pshape.png" />
Parametric Shape</h2>
<p>This tool can draw other exotic shapes, which require some parameters. You can draw <b>a Polygon, a Star, a Spiral</b> and possibly many other shapes in the future.
Each shape has several parameters, which allow you to customize the shape.</p>
<h2>Text to Shape</h2>
<p>You can convert any text layer into a vector shape layer by right-clicking it (in Layers panel) and pressing <b>Convert to Shape</b>.
Each character will become a path with knots, which you can modify manually (e.g. rotate each character by a random angle).</p>
</div>
<h2 style="margin-top: 4em">Comments</h2>
<div id="disqus_thread"></div>
<script>
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://learn-photopea.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
</div>
</div>
<div id="footer">&copy; 2013-2018 support@photopea.com</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-4249565-43', 'auto'); ga('send', 'pageview');
</script>
</div>
</html>