Layer.operateRect

機能/意味
Rectangle operation composition
タイプ
Layerクラスのメソッド
構文
operateRect(dleft, dtop, src, sleft, stop, swidth, sheight, mode=omAuto, opa=255)
引数
dleft  Specify the left end position of the destination rectangle in pixels (at the image position of the destination layer).
dtop  Specify the top position of the destination rectangle in pixels (at the destination layer image position).
src  Specify the layer object of the calculation source.
 Bitmap class objects can also be specified. (1.1.0 or later)
sleft  Specify the left edge position of the rectangle to be calculated in pixels (at the image position of the calculation source layer).
stop  Specify the top position of the rectangle to be computed in pixels (at the image position of the computation source layer).
swidth  Specify the width of the rectangle to be calculated in pixels (at the image position of the calculation source layer).
sheight  Specifies the vertical width of the rectangle to be calculated in pixels (at the image position of the calculation source layer).
mode  Specify the operation mode.
When omAuto is specified, the type of operation is automatically determined according to the Layer.type property of the operation source layer.
If omPsNormal is specified, Photoshop compatible alpha compositing will be performed.
If omPsAdditive is specified, dodging (linear) synthesis compatible with Photoshop is performed.
If omPsSubtractive is specified, burning (linear) synthesis compatible with Photoshop is performed.
If omPsMultiplicative is specified, Photoshop compatible multiplication and synthesis will be performed.
When omPsScreen is specified, Photoshop compatible screen composition is performed.
If omPsOverlay is specified, Photoshop compatible overlay composition is performed.
If omPsHardLight is specified, Photoshop compatible hard light composition is performed.
If omPsSoftLight is specified, Photoshop compatible soft light composition is performed.
If omPsColorDodge is specified, dodge color composition compatible with Photoshop is performed.
If omPsColorDodge5 is specified, dodging color composition compatible with Photoshop version 5.x or lower is performed.
If omPsColorBurn is specified, burn-in color composition compatible with Photoshop is performed.
When omPsLighten is specified, Photoshop compatible comparison (bright) synthesis is performed.
When omPsDarken is specified, Photoshop compatible comparison (dark) composition is performed.
If omPsDifference is specified, the absolute value of the difference compatible with Photoshop is synthesized.
If omPsDifference5 is specified, the absolute value of the difference in compatibility with Photoshop version 5.x or lower is synthesized.
If omPsExclusion is specified, Photoshop compatible exclusion synthesis is performed.
When omAdditive is specified, addition synthesis is performed.
If omSubtractive is specified, subtraction synthesis is performed.
When omMultiplicative is specified, multiplication and synthesis are performed.
If omDodge is specified, dodging synthesis is performed.
If omDarken is specified, comparison (dark) synthesis is performed.
If omLighten is specified, comparison (bright) synthesis is performed.
If omScreen is specified, screen multiplication is performed.
If omAlpha is specified, alpha synthesis will be performed.
If omAddAlpha is specified, additive alpha synthesis is performed.
If omOpaque is specified, the alpha information of src is ignored, and src is always assumed to be completely opaque.
opa  Specifies the strength of the operation (0-255).
戻り値
なし (void)
説明
 Performs arithmetic synthesis of the rectangular part of the specified operation source layer at the specified position of the own layer in the specified mode.
 The value of the Layer.face property of the layer of the operation destination (where the method is executed) or the layer of the operation source is ignored.
 When omAuto is specified for mode, the type of operation is automatically determined according to the Layer.type property of the source layer.