Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The SelectionFormat class defines the properties of a selection highlight.
pointAlpha:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The alpha for drawing the cursor.
Implementation public function get pointAlpha():Number
pointBlendMode:String
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The blend mode for drawing the cursor.
Implementation public function get pointBlendMode():String
See also
pointBlinkRate:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The rate at which the cursor blinks, in milliseconds.
Implementation public function get pointBlinkRate():Number
pointColor:uint
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The color for drawing the cursor.
Implementation public function get pointColor():uint
rangeAlpha:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The alpha for drawing the highlight of a range selection.
Implementation public function get rangeAlpha():Number
rangeBlendMode:String
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The blending mode for drawing the highlight of a range selection.
Implementation public function get rangeBlendMode():String
See also
rangeColor:uint
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The color for drawing the highlight of a range selection.
Implementation public function get rangeColor():uint
public function SelectionFormat(rangeColor:uint = 0xffffff, rangeAlpha:Number = 1.0, rangeBlendMode:String = "difference", pointColor:uint = 0xffffff, pointAlpha:Number = 1.0, pointBlendMode:String = "difference", pointBlinkRate:Number = 500)
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Creates a SelectionFormat object with the specified properties.
A SelectionFormat created with the default values will use black for
the highlight colors, 1.0 for the alphas, and BlendMode.DIFFERENCE for the blending modes.
The cursor blink rate is 500 milliseconds.
Parameters | rangeColor:uint (default = 0xffffff ) — The color for drawing the highlight.
|
|
| rangeAlpha:Number (default = 1.0 ) — The transparency value for drawing the highlight. Valid values are between 0
(completely transparent) and 1 (completely opaque, which is the default).
|
|
| rangeBlendMode:String (default = "difference ") — The blend mode for drawing the highlight. Use constants defined in the BlendMode class
to set this parameter.
|
|
| pointColor:uint (default = 0xffffff ) — The color for the drawing cursor.
|
|
| pointAlpha:Number (default = 1.0 ) — The transparency value for drawing the cursor. Valid values are between 0
(completely transparent) and 1 (completely opaque, which is the default).
|
|
| pointBlendMode:String (default = "difference ") — The blend mode for drawing the cursor. Use constants defined in the BlendMode class
to set this parameter.
|
|
| pointBlinkRate:Number (default = 500 ) — The rate at which the cursor blinks, in milliseconds.
|
See also
public function equals(selectionFormat:SelectionFormat):Boolean
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Determines whether this SelectionFormat object has the same property values
as another SelectionFormat object.
Parameters
Returns | Boolean — true , if the property values are identical; false , otherwise.
|
© 2009 Adobe Systems Incorporated. All rights reserved.
Sat Oct 3 2009, 04:15 AM -07:00