CapturedScreenArea class

Annotations

Constructors

CapturedScreenArea({required Uint8List buffer, required int width, required int height, required int bitsPerPixel, required int bytesPerPixel})
const
CapturedScreenArea.fromJson(Map<Object?, Object?> json)
factory

Properties

aspectRatio double
no setter
bitsPerPixel int
final
buffer Uint8List
final
bytesPerPixel int
final
channelOrder → ChannelOrder
no setter
hashCode int
The hash code for this object.
no setteroverride
height int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
final

Methods

copyWith({Uint8List? buffer, int? width, int? height, int? bitsPerPixel, int? bytesPerPixel}) CapturedScreenArea
getPixelColor(double x, double y) Color
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toImage() → Image
toJson() Map<String, dynamic>
toPngImage() Uint8List
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override