Referência do ActionScript® 3.0 para Adobe® Flash® Platform
Início  |  Ocultar listas de Pacotes e Classes |  Pacotes  |  Classes  |  Novidades  |  Índice  |  Apêndices  |  Por que inglês?
Filtros: Recuperando dados do servidor...
Recuperando dados do servidor...
coldfusion.service.mxml 

Image  - AS3 CF

Pacotecoldfusion.service.mxml
Classepublic class Image
HerançaImage Inheritance BasicService Inheritance InternalConfig Inheritance Object

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

The proxy class for image services exposed by ColdFusion.



Propriedades públicas
 PropriedadeDefinido por
 Inheritedaction : String
Action string for the service.
BasicService
  angle : String
Rotates the image; Angle in degrees.
Image
  attributes : Array
The attributes of the cfimage tag.
Image
  blurFactor : String
The blur factor used for resampling.
Image
  blurRadius : String
Uses the ImageBlur function to blur the image by a radius.
Image
  borderType : String
The type of border: zero: Sets the border color to black. constant: Sets the border to the specified color (default). copy: Sets sample values to copies of the nearest valid pixel.
Image
 InheritedcfContextRoot : String
Context root of the ColdFusion server.
InternalConfig
 InheritedcfPort : int
Port where the ColdFusion server is running.
InternalConfig
 InheritedcfServer : String
Name or IP address of the ColdFusion server.
InternalConfig
  color : String
Border color; Hexadecimal value or supported named color.
Image
 Inheritedconstructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto.
Object
 Inheriteddestination : String
Specifies the destination for the remoting call.
InternalConfig
  direction : String
Shear direction: horizontal vertical
Image
  fitHeight : String
The height of the bounding box in pixels.
Image
  fitWidth : String
The width of the bounding box in pixels.
Image
  gain : int = 1
Gain values can be integers or real numbers.
Image
  height : String
Height in pixels of the image.
Image
  interpolation : String
The interpolation method for resampling.
Image
  overlaySource : String
Image source of the second ColdFusion image the overlays the first ColdFusion image.
Image
 InheritedsecureHttp : Boolean
Boolean value that specifies if secure HTTP is used: yes: uses secure HTTP no: does not use secure HTTP
InternalConfig
 InheritedservicePassword : String
Password to access ColdFusion services.
InternalConfig
 InheritedserviceUserName : String
Username to access ColdFusion services.
InternalConfig
  shear : String
Shears a ColdFusion image either horizontally or vertically.
Image
  source : String
ColdFusion image source can be one of the following: URL of the source image. Absolute pathname or a pathname relative to the web root. ColdFusion image variable containing another image, BLOB, or byte array.
Image
  tagName : String
The tag name to be returned.
Image
  thickness : uint = 1
Border thickness in pixels; the value must be an integer.
Image
  transpose : String = "vertical"
Transpose the image: vertical: Flip an image across an imaginary horizontal line that runs through the center of the image. horizontal: Flip an image across an imaginary vertical line that runs through the center of the image. diagonal: Flip an image across its main diagonal that runs from the upper-left to the lower-right corner. antidiagonal: Flip an image across its main diagonal that runs from the upper-right to the lower-left corner. ("90|180|270"): Rotate an image clockwise by 90, 180, or 270 degrees.
Image
  width : String
Width in pixels of the image.
Image
  x : String
The x coodinate of the image.
Image
  y : String
The y coordinate of the image.
Image
Métodos públicos
 MétodoDefinido por
  
Creates an instance of the Image class.
Image
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
BasicService
 Inherited
Dispatches an event into the event flow.
BasicService
  
Sends the information to the ColdFusion service based on the action and the attributes that the user sets.
Image
 Inherited
Returns the RemoteObject instance used by the proxy classes to make the remote object call.
BasicService
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
BasicService
 Inherited
Indica se um objeto tem uma propriedade especificada definida.
Object
 Inherited
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro.
Object
 Inherited
Indica se a propriedade especificada existe e é enumerável.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
BasicService
 Inherited
Define a disponibilidade de uma propriedade dinâmica para operações de repetição.
Object
 Inherited
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade.
Object
 Inherited
Retorna a representação de string do objeto especificado.
Object
 Inherited
Retorna o valor primitivo do objeto especificado.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
BasicService
Métodos protegidos
 MétodoDefinido por
  
[substituir] This is the overriden function of the default implementation is BasicService.
Image
Eventos
 Evento Resumo Definido por
 InheritedDispatched when a ColdFusion service call fails.BasicService
 InheritedDispatched when a ColdFusion service call returns successfully.BasicService
Detalhes da propriedade

angle

propriedade
public var angle:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Rotates the image; Angle in degrees.

attributes

propriedade 
public var attributes:Array

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

The attributes of the cfimage tag. The cfimage tag lets you create images and perform common image manipulation operations.

blurFactor

propriedade 
public var blurFactor:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

The blur factor used for resampling. The higher the blur factor, the more blurred the image. Valid values are 1–10.

blurRadius

propriedade 
public var blurRadius:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Uses the ImageBlur function to blur the image by a radius. Radius is an integer value.

borderType

propriedade 
public var borderType:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

The type of border:

  • zero: Sets the border color to black.
  • constant: Sets the border to the specified color (default).
  • copy: Sets sample values to copies of the nearest valid pixel. For example, pixels to the left of the valid rectangle assume the value of the valid edge pixel in the same row. Pixels both above and to the left of the valid rectangle assume the value of the upper-left pixel.
  • reflect: Mirrors the edges of the source image. For example, if the left edge of the valid rectangle is located at x = 10, pixel (9, y) is a copy of pixel (10, y) and pixel (6, y) is a copy of pixel (13, y).
  • wrap: Tiles the source image in the plane.

color

propriedade 
public var color:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Border color; Hexadecimal value or supported named color.

O valor padrão é black.

direction

propriedade 
public var direction:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Shear direction:

  • horizontal
  • vertical

O valor padrão é horizontal.

fitHeight

propriedade 
public var fitHeight:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

The height of the bounding box in pixels. You can specify an integer, or an empty string ("") if the fitWidth is specified.

fitWidth

propriedade 
public var fitWidth:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

The width of the bounding box in pixels. You can specify an integer, or an empty string ("") if the fitHeight is specified.

gain

propriedade 
public var gain:int = 1

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Gain values can be integers or real numbers. The gain value determines whether the image is blurred or sharpened:

  • If > 0, the image is sharpened.
  • If = 0, no effect
  • If < 0, the image is blurred.

O valor padrão é 1.0.

height

propriedade 
public var height:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Height in pixels of the image.

interpolation

propriedade 
public var interpolation:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

The interpolation method for resampling. You can specify a specific interpolation algorithm by name (for example, hamming), by image quality (for example, mediumQuality), or by performance (for example, highestPerformance). Valid values are:

  • highestQuality
  • highQuality
  • mediumQuality
  • highestPerformance
  • highPerformance
  • mediumPerformance
  • nearest
  • bilinear
  • bicubic
  • bessel
  • blackman
  • hamming
  • hanning
  • hermite
  • lanczos
  • mitchell
  • quadratic

overlaySource

propriedade 
public var overlaySource:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Image source of the second ColdFusion image the overlays the first ColdFusion image. It can be one of the following:

  • URL of the source image.
  • Absolute pathname or a pathname relative to the web root.
  • ColdFusion image variable containing another image, BLOB, or byte array. For example,"#myImage#"
  • Base64 string. For example, "data:image/jpg;base64,/9j/4AAQSkZJRgABAQA.............."

shear

propriedade 
public var shear:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Shears a ColdFusion image either horizontally or vertically.

source

propriedade 
public var source:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

ColdFusion image source can be one of the following:

  • URL of the source image.
  • Absolute pathname or a pathname relative to the web root.
  • ColdFusion image variable containing another image, BLOB, or byte array. For example,"#myImage#"
  • Base64 string. For example, "data:image/jpg;base64,/9j/4AAQSkZJRgABAQA.............."

tagName

propriedade 
public var tagName:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

The tag name to be returned.

thickness

propriedade 
public var thickness:uint = 1

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Border thickness in pixels; the value must be an integer.

O valor padrão é 1.

transpose

propriedade 
public var transpose:String = "vertical"

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Transpose the image:

  • vertical: Flip an image across an imaginary horizontal line that runs through the center of the image.
  • horizontal: Flip an image across an imaginary vertical line that runs through the center of the image.
  • diagonal: Flip an image across its main diagonal that runs from the upper-left to the lower-right corner.
  • antidiagonal: Flip an image across its main diagonal that runs from the upper-right to the lower-left corner.
  • ("90|180|270"): Rotate an image clockwise by 90, 180, or 270 degrees.

O valor padrão é vertical.

width

propriedade 
public var width:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Width in pixels of the image.

x

propriedade 
public var x:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

The x coodinate of the image.

y

propriedade 
public var y:String

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

The y coordinate of the image.

Detalhes do construtor

Image

()Construtor
public function Image()

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Creates an instance of the Image class.

Detalhes do método

convertResultInEvent

()método
override protected function convertResultInEvent(event:ResultEvent):ColdFusionServiceResultEvent

This is the overriden function of the default implementation is BasicService. This function checks if the result returned is an array of specific object instances. If it is, it converts it into an array of objects and creates an instance of ColdFusionServiceResultEvent and returns the event

Parâmetros

event:ResultEvent

Retorna
ColdFusionServiceResultEvent

execute

()método 
public function execute():void

Versão da linguagem: ActionScript 3.0
Versão de produto: ColdFusion 9
Versões de runtime: Flash Player 9, AIR 1.0

Sends the information to the ColdFusion service based on the action and the attributes that the user sets.





[ X ]Por que inglês?
O conteúdo na Referência do ActionScript 3.0 aparece em inglês

Nem todas as partes da Referência do ActionScript 3.0 estão traduzidas em todos os idiomas. Quando um elemento de um idioma não está traduzido, ele é exibido em inglês. Por exemplo, a classe ga.controls.HelpBox não está traduzida em nenhum idioma. Por isso, na versão da referência em português do Brasil, a classe ga.controls.HelpBox é exibida em inglês.