Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 227

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 226
205
Last updated 5/2/2011
Chapter 16: Filter object
Availability
Flash 8.
Description
This object contains all the properties for all filters. The filter.name property specifies the type of filter, and
determines which properties are applicable to each filter. See
filter.name.
To return the filter list for an object or objects, use document.getFilters(). To apply filters to an object or objects,
use
document.setFilters(). See document.getFilters() and document.setFilters().
Property summary
The following properties can be used with the Filter object:
Property Description
filter.angle A float value that specifies the angle of the shadow or highlight color, in degrees.
filter.blurX A float value that specifies the amount to blur in the x direction, in pixels.
filter.blurY A float value that specifies the amount to blur in the y direction.
filter.brightness A float value that specifies the brightness of the filter.
filter.color A string, hexadecimal value, or integer that represents the filter color.
filter.contrast A float value that specifies the contrast value of the filter.
filter.distance A float value that specifies the distance between the filter’s effect and an object, in pixels.
filter.enabled A Boolean value that specifies whether the specified filter is enabled.
filter.hideObject A Boolean value that specifies whether the source image is hidden.
filter.highlightColor A string, hexadecimal value, or integer that represents the highlight color.
filter.hue A float value that specifies the hue of the filter.
filter.inner A Boolean value that specifies whether the shadow is an inner shadow.
filter.knockout A Boolean value that specifies whether the filter is a knockout filter.
filter.name Read-only; a string that specifies the type of filter.
filter.quality A string that specifies the blur quality.
filter.saturation A float value that specifies the saturation value of the filter.
filter.shadowColor A string, hexadecimal value, or integer that represents the shadow color.
filter.strength An integer that specifies the percentage strength of the filter.
filter.type A string that specifies the type of bevel or glow.
Zobrazit stránku 226
1 2 ... 222 223 224 225 226 227 228 229 230 231 232 ... 564 565

Komentáře k této Příručce

Žádné komentáře