Style
Style is used for changing the visual styles of items contained within a Paper.js project and is returned by item.style and project.currentStyle.
All properties of Style are also reflected directly in Item, i.e.: item.fillColor.
Styles set on a Group or Layer are applied to the children that it contains at that moment. Items added to it later do not receive them.
To set multiple style properties in one go, you can pass an object to item.style. This is a convenient way to define a style once and apply it to a series of items: