- 機能/意味
-
Drawing method
- タイプ
-
Layerクラスのプロパティ (読み書き可能)
- 説明
-
Represents the drawing method for the layer. You can also set a value.
Before Kirikiri 2.23 beta 1, it was called "drawing surface".
- If dfAlpha or dfBoth is specified, the image is assumed to be an image with an alpha channel and is drawn. The same is true for dfBoth and dfAlpha. The layer type corresponding to this drawing method is ltTransparent or ltAlpha.
- If dfAddAlpha is specified, the image will be considered as an image with an added alpha channel and drawn. The layer type corresponding to this drawing method is ltAddAlpha.
- If dfOpaque or dfMain is specified, all layer images are considered completely opaque and are drawn. Layer types that support this drawing method are those that perform arithmetic / logical operations such as ltOpaque or ltCoverRect, or ltAdditive.
- If dfMask is specified, the mask image (alpha channel) will be the target of drawing.
- If dfProvince is specified, the area image will be drawn.
- If you specify dfAuto, the drawing method is automatically determined according to the current Layer.type properties. The drawing method of the layer immediately after it is created is dfAuto.
Some methods cannot be operated depending on the value of this property.
- 参照
-
Layer.type