Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo: "instantiation" -> "instantiating" #351

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion posts/_posts/2012-6-25-fabric-intro-part-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ <h3 id="path_and_pathgroup">Paths</h3>

<p><img src="/article_assets/10.png"></p>

<p>We're instantiation <code>fabric.Path</code> object, passing it a string of path instructions. While it looks cryptic, it's actually easy to understand. &#8220;M&#8221; represents &#8220;move&#8221; command, and tells that invisible pen to move to 0, 0 point. &#8220;L&#8221; stands for &#8220;line&#8221; and makes pen draw a line to 200, 100 point. Then, another &#8220;L&#8221; creates a line to 170, 200. Lastly, &#8220;z&#8221; tells forces drawing pen to close current path and finalize the shape. As a result, we get a triangular shape.</p>
<p>We're instantiating <code>fabric.Path</code> object, passing it a string of path instructions. While it looks cryptic, it's actually easy to understand. &#8220;M&#8221; represents &#8220;move&#8221; command, and tells that invisible pen to move to 0, 0 point. &#8220;L&#8221; stands for &#8220;line&#8221; and makes pen draw a line to 200, 100 point. Then, another &#8220;L&#8221; creates a line to 170, 200. Lastly, &#8220;z&#8221; tells forces drawing pen to close current path and finalize the shape. As a result, we get a triangular shape.</p>

<p>Since <code>fabric.Path</code> is just like any other object in Fabric, we were also able to change some of its properties. But we can modify it even more:</p>

Expand Down