magickGetImageBluePrimary method

MagickGetImageBluePrimaryResult? magickGetImageBluePrimary()

Returns the chromaticity blue primary point for the image.

This method runs inside an isolate different from the main isolate.

Implementation

MagickGetImageBluePrimaryResult? magickGetImageBluePrimary() => using(
      (Arena arena) {
        final Pointer<Double> xPtr = arena();
        final Pointer<Double> yPtr = arena();
        final Pointer<Double> zPtr = arena();
        bool result = _magickWandBindings.MagickGetImageBluePrimary(
          _wandPtr,
          xPtr,
          yPtr,
          zPtr,
        ).toBool();
        if (!result) {
          return null;
        }
        return MagickGetImageBluePrimaryResult(
          xPtr.value,
          yPtr.value,
          zPtr.value,
        );
      },
    );