Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
BitmapSmoothingQuality

Package | mx.graphics
Class | public final class BitmapSmoothingQuality
Inheritance | BitmapSmoothingQuality 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 Constants

| Constant | Defined 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.

Sun Mar 5 2017, 03:42 PM +11:00