Style= "Filter:filtername (Fparameter1, fparameter2 ...)"
(FilterName is the filter's name, Fparameter1, Fparameter2, etc. are the parameters of the filter)
Filter Description:
Alpha: Set the transparency level
Blur: Create a high-speed move effect, which is a blur effect
Chroma: Making special color transparent
DropShadow: Creating a fixed shadow for an object
Fliph: Creating a horizontally mirrored picture
FLIPV: Creating a vertical mirror image
Glow: Gaguang Outside the edges of nearby objects
Gray: Grayscale the picture
Invert: Inverse color
Light: Creating lights on an object
Mask: Creating a transparent mask on an object
Shadow: Create Offset fixed Shadow
Wave: Ripple Effect
Xray: Makes an object look like an X-ray
1. Filter: Alpha
Syntax: style= "Filter:alpha (opacity=opacity, finishopacity=finishopacity,style=Style, Startx=startx,starty=starty,finishx=finishx,finishy=finishy) "
Description
Opacity: The starting value, the value is 0~100, 0 is transparent, and 100 is the original.
Finishopacity: Target value.
Style:1 or 2 or 3
StartX: Any value
Starty: Any value
Example: Filter:alpha (opacity= "0", finishopacity= "," style= "2")
2. Filter: Blur
Syntax: style= "filter:blur (add = Add, Direction = Direction, strength = strength)"
Description
ADD: typically 1, or 0.
Direction: Angle, 0~315度, step is 45 degrees.
Strength: The effect increases the value, generally 5 can.
Example: Filter:blur (add= "1", direction= ", strength=" 5 ")
3. Filter: Chroma
Syntax: style= "filter:chroma (color = color)"
Description: Color: #rrggbb格式, any.
Example: Filter:chroma (color= "#FFFFFF")
4. Filter: DropShadow
Syntax: style= "Filter:dropshadow (Color=color, OFFX=OFFX, Offy=offy, positive=positive)"
Description: Color: #rrggbb格式, any.
Offx:x axis deviation value.
Offy:y axis deviation value.
Positive:1 or 0.
Example: Filter:dropshadow (color= "#6699CC", offx= "5", offy= "5", positive= "1")
5. Filter: Fliph
Syntax: style= "Filter:fliph"
Example: Filter:fliph
6. Filter: FLIPV
Syntax: style= "FILTER:FLIPV"
Example: FILTER:FLIPV
7. Filter: Glow
Syntax: style= "Filter:glow (Color=color, Strength=strength)"
Description
Color: Glow Color.
Strength: Strength (0-100)
Example: Filter:glow (color= "#6699CC", strength= "5")
8. Filter: Gray
Syntax: style= "Filter:gray"
Example: Filter:gray
9. Filter: Invert
Syntax: style= "Filter:invert"
Example: Filter:invert
10. Filter:Mask
Syntax: style= "Filter:mask (Color=color)"
Example: Filter:mask (color= "#FFFFE0")
11. Filter: Shadow
Syntax: Filter:shadow (Color=color, direction=direction)
Description
Color: #rrggbb格式.
Direction: Angle, 0-315 degrees, step is 45 degrees.
Example: Filter:shadow (color= "#6699CC", direction= "135")
12. Filter: Wave
Syntax: Filter:wave (add=add,freq=freq,lightstrength=strength,phase=phase,strength=strength)
Description
ADD: typically 1, or 0.
Freq: deform value.
Lightstrength: Percent of deform.
Phase: Percentage of angular distortion.
Strength: Deformation strength.
Example: Filter:wave (add= "0", phase= "4", freq= "5", lightstrength= "5", strength= "2")
13. Filter: Xray
Syntax: style= "Filter:xray"
Example: Filter:xray
CSS Filter (reprint)