Masking with a vector object
You can create a vector mask by attaching a vector object to another
object. Like other vector masks, a vector mask created from a vector
object produces transparency relative to its color values. For exam-
ple, if the vector object that you attach is solid white, it creates no
transparency; if it is solid black, it creates 100% transparency, mak-
ing the masked object invisible.
To attach a vector mask
1
Place a vector object to use as a mask in front of the object to
be masked. The two objects do not have to overlap or touch, but the
vector object must be in front of the other object in the stacking
order.
2
Select both objects.
3
Choose Object > SpriteLayers > Attach Mask. Canvas creates
a vector mask and both objects remain selected. The original vector
object is not changed.
If the vector object and the object to be masked arent the same size,
Canvas scales the vector object to fit the masked object.
Editing vector masks
You can edit vector masks that have been applied with the Vector
Transparency tools, and masks created by attaching gradient-filled
vector objects. Editing lets you change the boundary of the opaque
and transparent areas of a mask. You can also add nodes for finer
control of transparency levels.
To edit a vector mask
To put a masked object in edit mode, select the object and click Edit
in the Transparency palette (see Using the Transparency palette on
page 20.355). Or, select the Vector Transparency tool that was used
to apply the mask.
When the vector mask editing handles appear, you can drag the han-
dles to adjust the position and boundaries of the vector mask. The
handles correspond to the values in the Mask area in the Transpar-
ency palette. When you drag a handle, the values in the Transparency
palette are updated to match the new position. When you finish edit-
ing, press Esc.