src | Specify the layer object to be superimposed. Bitmap class objects can also be specified. (1.1.0 or later) |
sleft | Specifies the left edge of the rectangle to be overlaid in pixels (at the image position of the overlay source layer). |
stop | Specifies the top position of the rectangle to be overlaid in pixels (at the image position of the overlay source layer). |
swidth | Specifies the width of the overlapping rectangle in pixels (at the image position of the source layer). |
sheight | Specifies the vertical width of the rectangle to be overlaid in pixels (at the image position of the overlay source layer). |
affine | Specify how to handle the following six arguments (A to F parameters). If you specify true, each of the six parameters is interpreted as follows: A : A of the 2D affine transformation matrix B : B of the 2D affine transformation matrix C : C of the 2D affine transformation matrix D : D of the 2D affine transformation matrix E : Tx of the 2D affine transformation matrix F : Ty of the 2D affine transformation matrix By the affine transformation, the image position (x, y) of the superimposition source (where the upper left corner of the rectangle of the superimposition source is (0, 0)) is calculated by the following equation using the image position (x', y'). x' = a*x + c*y + tx y' = b*x + d*y + ty If false is specified, each of the six parameters is interpreted as follows: A : X coordinate position (x0) of the upper left corner of the source rectangle in the image position at the destination B : Y coordinate position (y0) of the upper left corner of the source rectangle in the image position at the destination C : X coordinate position (x1) of the upper right corner of the source rectangle in the image position at the destination D : Y coordinate position (y1) of the upper right corner of the source rectangle in the image position at the destination E : X coordinate position (x2) of the lower left corner of the source rectangle in the image position at the destination F : Y coordinate position (y2) of the lower left corner of the source rectangle in the image position at the destination If false is specified, the overlay destination position (x3, y3) corresponding to the lower right corner of the overlay source is automatically calculated by the following formula. x3 = x1 - x0 + x2 y3 = y1 - y0 + y2 |
A | A parameter. The interpretation depends on the affine argument. |
B | B parameter. The interpretation depends on the affine argument. |
C | C parameter. The interpretation depends on the affine argument. |
D | D parameter. The interpretation depends on the affine argument. |
E | The E parameter. The interpretation depends on the affine argument. |
F | The F parameter. The interpretation depends on the affine argument. |
mode | Specify the operation mode. If omAuto is specified, the type of operation will be automatically determined according to the Layer.type properties of the source layer. If omPsNormal is specified, Photoshop compatible alpha compositing is performed (not implemented in the current version). If omPsAdditive is specified, dodge (linear) synthesis compatible with Photoshop is performed (not implemented in the current version). When omPsSubtractive is specified, burn-in (linear) synthesis compatible with Photoshop is performed (not implemented in the current version). If omPsMultiplicative is specified, Photoshop compatible multiplication will be performed (not implemented in the current version). If omPsScreen is specified, Photoshop compatible screen composition is performed (not implemented in the current version). When omPsOverlay is specified, overlay compatible with Photoshop is performed (not implemented in the current version). If omPsHardLight is specified, Photoshop compatible hard light composition will be performed (not implemented in the current version). If omPsSoftLight is specified, Photoshop compatible soft light synthesis is performed (not implemented in the current version). If omPsColorDodge is specified, dodge color composition compatible with Photoshop is performed (not implemented in the current version). If omPsColorDodge5 is specified, dodging color composition compatible with Photoshop version 5.x or lower is performed (not implemented in the current version). If omPsColorBurn is specified, burn-in color composition compatible with Photoshop is performed (not implemented in the current version). When omPsLighten is specified, comparison (bright) composition compatible with Photoshop is performed (not implemented in the current version). If omPsDarken is specified, comparison (dark) composition compatible with Photoshop is performed (not implemented in the current version). When omPsDifference is specified, the absolute value of the difference compatible with Photoshop is synthesized (not implemented in the current version). If omPsDifference5 is specified, the absolute value of the difference in compatibility with Photoshop version 5.x or less will be synthesized (not implemented in the current version). If omPsExclusion is specified, Photoshop compatible exclusion synthesis will be performed (not implemented in the current version). If omAdditive is specified, addition synthesis is performed (not implemented in the current version). If omSubtractive is specified, subtraction synthesis is performed (not implemented in the current version). If omMultiplicative is specified, multiplication will be performed (not implemented in the current version). If omDodge is specified, dodging synthesis is performed (not implemented in the current version). If omDarken is specified, comparison (dark) synthesis is performed (not implemented in the current version). If omLighten is specified, comparison (bright) synthesis is performed (not implemented in the current version). If omScreen is specified, screen multiplication will be performed (not implemented in the current version). If omAlpha is specified, alpha synthesis will be performed. If omAddAlpha is specified, additive alpha synthesis is performed. In this case, when the destination Layer.face property is dfOpaque and the Layer.holdAlpha property is false, linear interpolation can be performed by specifying stFastLinear in the type argument. If omOpaque is specified, the alpha information of src is ignored, and src is always assumed to be completely opaque. In this case, when the destination Layer.face property is dfOpaque and the Layer.holdAlpha property is false, linear interpolation can be performed by specifying stFastLinear in the type argument. |
opa | Specifies the opacity of the overlay (0-255). |
type | Specifies the type of affine transformation. stNearest : Nearest neighbor method is used stFastLinear : Low-precision linear interpolation is used (partially implemented) stLinear : Linear interpolation is used (not implemented) stCubic : 3D interpolation is used (not implemented) The speed is higher in the order of stNearest> stFastLinear> stLinear> stCubic, but the higher the speed, the lower the quality in the faster mode. For stFastLinear, stLinear, and stCubic, stRefNoClip can be additionally specified by bitwise OR, and in this case, it is allowed to refer to outside the area of the bitmap to be copied and combine colors. If this is not specified, there will be no reference outside the range of the source bitmap, even if there is room around the source bitmap. Is considered a color). |