From 89ceb3050590eed4f8c5c91d3e26904ce6c9f9d6 Mon Sep 17 00:00:00 2001 From: jmariller <48550159+jmariller@users.noreply.github.com> Date: Tue, 2 Jul 2019 11:21:32 +0200 Subject: [PATCH] Fix wrong reference to "Style" object Updated from "PathStyle" to "Style" --- tutorials/paths/using-color-and-style/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/paths/using-color-and-style/index.html b/tutorials/paths/using-color-and-style/index.html index 416ba151..00686db2 100644 --- a/tutorials/paths/using-color-and-style/index.html +++ b/tutorials/paths/using-color-and-style/index.html @@ -248,7 +248,7 @@
-The PathStyle Object
The Style Object
Every item also has an item.style property which is an object containing only style properties.
@@ -337,7 +337,7 @@As I mentioned earlier, all newly created items automatically receive the currently active path style properties as defined in the Illustrator interface. We can also change these through code by using currentStyle.
-currentStyle is the PathStyle object of the project and contains the currently active style properties such as fillColor and strokeColor. +currentStyle is the Style object of the project and contains the currently active style properties such as fillColor and strokeColor.
The following example changes the current style of the project, then creates a path which inherits that style. Then it changes the strokeWidth and fillColor and creates another path. @@ -436,4 +436,4 @@