Image class
Overlaid image.
Constructors
-
Image({Input<
double> ? alpha, Input<NormalizedCoordinate> ? resolution, required Input<String> uri}) -
Creates a new Image.
alphaTarget image opacity. Valid values are from1.0(solid, default) to0.0(transparent), exclusive. Set this to a value greater than0.0.resolutionNormalized image resolution, based on output video resolution. Valid values:0.0–1.0. To respect the original image aspect ratio, set eitherxoryto0.0. To use the original image resolution, set bothxandyto0.0.uriURI of the image in Cloud Storage. For example,gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.const -
Image.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
alpha
→ Input<
double> ? -
Target image opacity. Valid values are from
1.0(solid, default) to0.0(transparent), exclusive. Set this to a value greater than0.0.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
resolution
→ Input<
NormalizedCoordinate> ? -
Normalized image resolution, based on output video resolution. Valid values:
0.0–1.0. To respect the original image aspect ratio, set eitherxoryto0.0. To use the original image resolution, set bothxandyto0.0.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uri
→ Input<
String> -
URI of the image in Cloud Storage. For example,
gs://bucket/inputs/image.png. Only PNG and JPEG images are supported.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited