Adobe Extending Flash Professional CS4 Manual do Utilizador Página 228

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 227
206
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.
Vista de página 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 559 560

Comentários a estes Manuais

Sem comentários