ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
mx.graphics 

BitmapSmoothingQuality  - AS3 Flex

Packagemx.graphics
Classpublic final class BitmapSmoothingQuality
InheritanceBitmapSmoothingQuality Inheritance Object

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10, AIR 1.5

An enum of the smoothing quality modes that determine how a BitmapImage scales image content when fillMode is set to BitmapFillMode.SCALE and smooth is true.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  DEFAULT : String = "default"
[static] Default smoothing algorithm is used when scaling, consistent with quality of the stage (stage.quality).
BitmapSmoothingQuality
  HIGH : String = "high"
[static] High quality smoothing algorithm is used when scaling.
BitmapSmoothingQuality
Constant Detail

DEFAULT

Constant
public static const DEFAULT:String = "default"

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10, AIR 1.5

Default smoothing algorithm is used when scaling, consistent with quality of the stage (stage.quality).

HIGH

Constant 
public static const HIGH:String = "high"

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10, AIR 1.5

High quality smoothing algorithm is used when scaling. Used when a higher quality (down-sampled) scale is preferred. This option yields the best results when the image is scaled to a size equal to the aspect ratio of the original image and is useful for generating high quality thumbnails.