width property

int get width
override

@brief Width of the source image in pixels (after header parse / decode metadata).

Dart code snippet: @snippet bitmap_region_decoder_example.dart dart_BitmapRegionDecoder_getWidth

Implementation

int get width {
    final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Int32 Function(Pointer<Void>),
        int Function(Pointer<Void>)
      >('navigine_sdk_flutter_BitmapRegionDecoder_width_get'));

    final _handle = this.handle;
    final _widthHandle = _getFfi(_handle);
    final _result = navigine_sdk_flutter_int_FromFfi(_widthHandle);
    navigine_sdk_flutter_int_ReleaseFfiHandle(_widthHandle);
    return _result;
}