
Stroke filter in Motion
Creates a solid color or gradient color outline of variable width around the edge of an image or object based on its alpha channel (such as a color-keyed clip, a shape, or a text object). Using the gradient controls, you can create multiple strokes within a single filter.

Tip: Apply multiple Stroke filters to an object for even more fun. Each subsequent filter builds on the alpha channel that’s modified by the previous filter.
Adjust this filter using the parameter controls in the Filters Inspector:
Stroke Type: Sets the color type of the stroke drawn around the edge of the alpha channel. This pop-up menu has three options:
Color: Creates a single color stroke around the edge of the alpha channel.
Gradient: Creates a gradient color stroke around the edge of the alpha channel.
Outline Gradient: Creates a gradient color stroke around the edge of the alpha channel; the gradient starts at the inner edge of the stroke and ends at the outer edge of the stroke. Use this setting to create multiple distinct strokes around an alpha channel.
Color: Picks the color of the stroke. Expand the color controls to adjust individual Red, Green, and Blue sliders, to more precisely set the color of the stroke. This parameter becomes available when Type is set to Color.
Gradient: Defines the gradient of the stroke. This parameter becomes available when Type is set to Gradient or Outline Gradient.
Width: Sets the thickness of the stroke.
Position: Sets where the stroke is drawn on the edge of the alpha channel. This pop-up menu has three options:
Outside: Draws the stroke over the outer edge of the alpha channel.
Centered: Draws the stroke over the inner and outer edges of the alpha channel.
Inside: Draws the stroke over the inner edge of the alpha channel.
Each option above sets a different default value in the Threshold parameter.
Offset: Offsets the stroke from the edge of the alpha channel.
Threshold: Sets the alpha threshold of the stroke. Lower values draw the stroke around edge of the alpha channel’s low-opacity pixels; higher values draw the stroke around the edge of the alpha channel’s opaque pixels. The option you choose in the Position parameter defines the initial value of the Threshold parameter.
Fade Inside: Increases transparency from the inner edge of the stroke outward.
Fade Outside: Increases transparency from the outer edge of the stroke inward.
Fade Width: Sets the thickness of the fade. This parameter has no effect if Fade Inside and Fade Outside are set to 0.
Fade Falloff: Sets how the fade falls off the stroke. This parameter has no effect if Fade Inside and Fade Outside are set to 0.
Hide Source: Hides the original image, shape, or text object used to generate the stroke.
Blend Mode: Sets the blend mode used in the stroke. This checkbox is available only when Hide Source is turned off. For blend mode descriptions, see Types of blend modes.
Mix: Sets the percentage of the original image that’s blended with the bordered image.
Download this guide: PDF