Graphics Reference
In-Depth Information
Figure 4.3
Adding a border around the layer
Note that the layer border does not take the shape of the layer backing image or sublayers
into account. If the layer's sublayers overflow its
bounds
, or if the backing image has an
alpha mask containing transparent areas, the border will still always follow a (possibly
rounded) rectangle around the layer (see Figure 4.4).
Figure 4.4
The border follows the
bounds
of the layer, not the shape of its contents.