HBCMS更多的中文手册参考:

function Attribute | Function参数属性

DHTML文档教程

Sets or retrieves the compositing operation to perform.

dhtml语法

HTML
{ filter:progid:dximagetransform.microsoft.compositor(
    function = sfunction ... ) ... }
scripting
object.filters.item(
    "dximagetransform.microsoft.compositor").function [ = sfunction ]

dhtml可能的值

sFunctionInteger that specifies or receives one of the following possible values:
0Default. CLEAR. Perform no operation.
1MIN. Compare the brightness of each pixel in both images, and show the less bright of the two pixels.
2MAX. Compare the brightness of each pixel in both images, and show the brighter of the two pixels.
3A. Display only Input A.
4A OVER B. Display Input A over Input B. All of Input A is visible, and Input B shows through translucent regions of Input A.
5A IN B. Display all parts of Input A that are contained in Input B. Only regions with nonzero alpha values for both images are visible, and no part of Input B shows through.
6A OUT B. Display all parts of Input A that are not contained in Input B. No part of Input B is displayed.
7A ATOP B. Display Input A covering Input B, with each sample scaled by the alpha channel of Input B.
8A SUBTRACT B. Display Input A with the sample color values of Input B subtracted from the corresponding sample color values of Input A. The resulting color is scaled by the alpha values of Input A.
9A ADD B. Display Input A with the sample color values of Input B added to the corresponding sample color values of Input A. The resulting color value is scaled by the alpha value of Input A.
10A XOR B. Display pixels of each set of input where the two images do not overlap. Pixels that overlap are scaled by their inverse alpha value.
19B. Display only Input B.
20B OVER A. Display Input B over Input A. All of Input B is visible, and Input A shows through translucent regions of Input B.
21B IN A. Display all parts of Input B that are contained in Input A. Only regions with nonzero alpha values for both images are visible, and no part of Input A shows through.
22B OUT A. Display all parts of Input B that are not contained in Input A. No part of Input A is displayed.
23B ATOP A. Display Input B over Input A, with each sample scaled by the alpha channel of Input A.
24B SUBTRACT A. Display Input B with the sample color values of Input A subtracted from the corresponding sample color values of Input B. The resulting color is scaled by the alpha values of Input B.
25B ADD A. Display Input B with the sample color values of Input A added to the corresponding sample color values of Input B. The resulting color value is scaled by the alpha value of Input B.

The property is read/write. The property has a default value of 0.

Applies To

Compositor