패키지 | coldfusion.service.mxml |
클래스 | public class Image |
상속 | Image BasicService InternalConfig Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
속성 | 정의 주체 | ||
---|---|---|---|
action : 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 | ||
cfContextRoot : String
Context root of the ColdFusion server. | InternalConfig | ||
cfPort : int
Port where the ColdFusion server is running. | InternalConfig | ||
cfServer : String
Name or IP address of the ColdFusion server. | InternalConfig | ||
color : String
Border color; Hexadecimal value or supported named color. | Image | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
destination : 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 | ||
secureHttp : Boolean
Boolean value that specifies if secure HTTP is used:
yes: uses secure HTTP
no: does not use secure HTTP
| InternalConfig | ||
servicePassword : String
Password to access ColdFusion services. | InternalConfig | ||
serviceUserName : 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 |
메서드 | 정의 주체 | ||
---|---|---|---|
Image()
Creates an instance of the Image class. | Image | ||
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 | ||
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 | ||
Returns the RemoteObject instance used by the proxy classes to make the
remote object call. | BasicService | ||
Checks whether the EventDispatcher object has any listeners registered
for a specific type of event. | BasicService | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
Removes a listener from the EventDispatcher object. | BasicService | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its
ancestors for the specified event type. | BasicService |
메서드 | 정의 주체 | ||
---|---|---|---|
[재정의]
This is the overriden function of the default implementation is BasicService. | Image |
angle | 속성 |
public var angle:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Rotates the image; Angle in degrees.
attributes | 속성 |
public var attributes:Array
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | 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 | 속성 |
public var blurFactor:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | 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 | 속성 |
public var blurRadius:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Uses the ImageBlur
function to blur the image by a radius.
Radius is an integer value.
borderType | 속성 |
public var borderType:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | 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 | 속성 |
public var color:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Border color; Hexadecimal value or supported named color.
기본값: black
.
direction | 속성 |
public var direction:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Shear direction:
horizontal
vertical
기본값: horizontal
.
fitHeight | 속성 |
public var fitHeight:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | 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 | 속성 |
public var fitWidth:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | 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 | 속성 |
public var gain:int = 1
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | 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.
기본값: 1.0.
height | 속성 |
public var height:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Height in pixels of the image.
interpolation | 속성 |
public var interpolation:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | 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 | 속성 |
public var overlaySource:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | 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 | 속성 |
public var shear:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Shears a ColdFusion image either horizontally or vertically.
source | 속성 |
public var source:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | 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 | 속성 |
public var tagName:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
The tag name to be returned.
thickness | 속성 |
public var thickness:uint = 1
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Border thickness in pixels; the value must be an integer.
기본값: 1.
transpose | 속성 |
public var transpose:String = "vertical"
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | 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.
기본값: vertical
.
width | 속성 |
public var width:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Width in pixels of the image.
x | 속성 |
public var x:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
The x coodinate of the image.
y | 속성 |
public var y:String
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
The y coordinate of the image.
Image | () | 생성자 |
public function Image()
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Creates an instance of the Image
class.
convertResultInEvent | () | 메서드 |
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
매개 변수
event:ResultEvent |
ColdFusionServiceResultEvent |
execute | () | 메서드 |
public function execute():void
언어 버전: | ActionScript 3.0 |
제품 버전: | ColdFusion 9 |
런타임 버전: | Flash Player 9, AIR 1.0 |
Sends the information to the ColdFusion service based on the action and the attributes that the user sets.
Tue Jun 12 2018, 03:17 PM Z