Doc:How Do I
From Synfig Studio :: Documentation
Revision as of 08:15, 17 January 2006 by SnapSilverlight (Talk | contribs) (darco explained how to link layer shapes. Yay!)
Apply a gradient to an object instead of the entire canvas?
- Create the region you want to fill with a gradient, and the gradient layer, if you haven't already.
- Make sure that the gradient layer is above the region layer in the Layers Dialog.
- Select both layers, right click, and select Encapsulate.
- Expand the new Inline Canvas layer if it's not already, and select your gradient layer.
- In the Params Dialog select the Blend Method parameter, and choose Onto from the drop-down menu.
The gradient will clip to the visible area of the region below it inside the Inline Canvas. (and any other layers in that section).
Show or hide a layer, or fade the effect of a blur?
In the Params Dialog, look for an option labeled Amount - this controls how much of the blended result of the layer is composited with the blend of the layers beneath it.
In other words, for a typical layer, this will 'fade it out'. For a Blur Layer set to "Straight", this will fade between the blurred version and the unblurred version of the canvas. If you want it to become less blurry, adjust the Blur Layer's 'size' parameter.
== Fill an outline? == (Requested by Karlb)
There are several options:
- The easiest way is to link a new region layer to the outline's shape.
- Create the outline you want to fill.
- From the Layer Menu (either context-click on the Layers Dialog or use the Canvas Menu Caret) create a new Region Layer
- Make sure that the Region Layer is above the Outline Layer in the Layers Dialog - this affects which layer's shape remains after the link.
- Select both layers in the Layers Dialog This will display only the parameters shared by both layers in the Params Dialog.
- Context-click on the Vertices Parameter, and select Link.
- The Region Layer will snap to the shape of the Outline Layer.
- When you create an outline with the bline tool that you intend to be a filled area as well, make sure you select the Fill checkbox in the tool options dialog. Obviously, this doesn't help much if you realise later that you needed a fill here.
- If you are using the draw tool, there is a button at the bottom of the tool options dialog labeled "Fill Last Stroke", which creates a new Region Layer and links its shape to the previously drawn outline. Unfortunately, it doesn't work as of Synfig Studio v0.61.04
- Create a region with the same number of ducks, and manually link each duck. If you want a region that depends on multiple outline layers, this is really your only choice for now.