The BitmapDataLoadOptions class contains different options to configure how BitmapDatas are loaded from the server.
The BitmapData.defaultLoadOptions object is the default for all loading operations if no BitmapDataLoadOptions are provided to the BitmapData.load function.
Constructors
Properties
- corsEnabled → bool
-
Use CORS to download the image. This is often necessary when you have to download images from a third party server.
read / write - hashCode → int
-
Get a hash code for this object.
read-only, inherited - jpg → bool
-
The application provides jpg files for lossy images.
read / write - maxPixelRatio → int
-
The maximum pixel ratio for images on HiDPI displays.
read / write - png → bool
-
The application provides png files for lossless images.
read / write - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - webp → bool
-
The application provides webp files for lossless and lossy images.
read / write
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
clone(
) → BitmapDataLoadOptions -
Create a deep clone of this BitmapDataLoadOptions.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited