Managing Layers

Carbide.ui allows you to create components with layers. You can create separate layers for parts of an image, and edit the contents of one layer without touching other layers. The maximum number of layers is three. In the Layers view, you can:
Only one layer at a time can be activated. Click on a layer to activate it. You can also add effects to the layers in the Layers view. you can paste images on top of layers, but these layers have to be added first.

Note: You have to select the component in, for example, the Editor before its layers are shown in the Layers view.

Adding layers

Note: You can only add layers to those components that can be animated.

Figure: Add Layers

Editing layers

To edit the layer component in a bitmap editor, select Convert and edit in Bitmap editor. In the Conversion confirmation window, select the bitmap resolution and Preserve mask if you want to preserve the mask.
To edit the layer component in a vector editor, select Edit image in Vector editor.
Note: You can only edit base layers in external editors.

Merging layers

When an animated component consists of multiple layers, you can adjust the degree to which a layer is merged with layers below it.

Figure: Merge Layers

Alpha blend

Alpha blend defines the logic in which the current layer is merged with the bottom layer. It is set by default when the current layer has another layer below it. You can choose from the following blend modes:
Note: A is the 1st layer and B is the 2nd layer.

Deleting layers

Note: You cannot delete the base layer. Layers that can be deleted can only be added to animated components.