Expand description
Typed view of the Project, Canvas and Layer tables of a .clip.
The layer tree is stored as first-child / next-sibling links:
Canvas.CanvasRootFolder is the root folder’s Layer.MainId, and
LayerFirstChildIndex / LayerNextIndex hold MainIds (0 = none).
Siblings are listed bottom to top (the paper first). See
docs/spec/03-canvas-and-layers.md.
Structs§
- Canvas
- Settings of the canvas (one row of
Canvas). - Layer
- One row of
Layer, with the commonly used columns typed. - Layer
Node - A layer and its children (bottom to top).
- Layer
Tree - All layers and the tree they form.
- Project
- One row of
Project(in a .clip: name and links to the canvas).
Enums§
- Layer
Kind - What a layer is. Derived from
LayerType,LayerFolderand which optional columns are filled (no single column holds it). - Unit
CanvasUnit/CropFrameUnitKindand friends.
Constants§
- LAYER_
TYPE_ CORRECTION LayerTypebit of a tone-correction layer.- LAYER_
TYPE_ MASKED LayerTypebit of a layer with a mask.- LAYER_
TYPE_ PAPER LayerTypeof the paper (用紙) layer.- LAYER_
TYPE_ RASTER LayerTypebit of a pixel layer.- LAYER_
TYPE_ ROOT LayerTypeof the root folder.- LAYER_
TYPE_ STORY_ INFO LayerTypeof a story info (作品情報) layer.- OPACITY_
FULL LayerOpacityof a fully opaque layer (100 %).