HTML and CSS Reference
In-Depth Information
Filter Type
Example
Compositor
filter: progid:DXImageTransform.Microsoft.
Compositor(function=1);
where function is the function number defined at http://msdn.microsoft.com/
en-us/library/ms532885(VS.85).aspx. The functions describe various ways of
compositing two regions. In order for the compositing to occur, you must take
the following steps:
1. Define the region for the filter and set the style appropriately.
2. Fill the region with inputA.
3. Call compositor.filters[0].Apply(); .
4. Update the innerHTML of the region with inputB.
5. Call compositor.filters[0].Play(); .
DropShadow
filter: progid:DXImageTransform.Microsoft.DropShadow(Color
=999999,offX=3,offY=2,
positive=true);
Emboss
filter: progid:DXImageTransform.Microsoft.Emboss();
Engrave
filter: progid:DXImageTransform.Microsoft.Engrave();
Flip Horizontal
(Basic Image)
filter: progid:DXImageTransform.Microsoft.
BasicImage(rotation=2, mirror=1);
Flip Vertical (Basic
Image)
filter: progid:DXImageTransform.Microsoft.
BasicImage(mirror=1)
Glow
filter: progid:DXImageTransform.Microsoft.Glow(
color=#ff4500,strength=5);
Gradient
filter: progid:DXImageTransform.Microsoft.Gradient(gradien
tType=0,startColorStr=#0000ff,endColorStr=#ff8c00);
Grayscale (Basic
Image)
filter: progid:DXImageTransform.Microsoft.
BasicImage(grayscale=1);
ICMFilter
filter: progid:DXImageTransform.Microsoft.ICMFilter(intent=
'Picture');
where intent can be Picture | Proof | Graphic | Match
Invert (Basic
Image)
filter: progid:DXImageTransform.Microsoft.
BasicImage(invert=1);
Light
filter: progid:DXImageTransform.Microsoft.Light(enabled=1);
where the light source and color are defined by a function such as
addCone(iX1, iY1, iZ1, iX2, iY2, iRed, iGreen, iBlue,
iStrength, iSpread)
MaskFilter
filter: progid:DXImageTransform.Microsoft.MaskFilter(color
= colorname )
where colorname is the color value (name or hex) to use as the mask.
T ABLE 6-8 Microsoft Filter Summary (continued)
 
Search WWH ::




Custom Search