pixelGetColorAsNormalizedString method

String? pixelGetColorAsNormalizedString()

PixelGetColorAsNormalizedString() returns the normalized color of the pixel wand as a string.

Implementation

String? pixelGetColorAsNormalizedString() {
  final Pointer<Char> colorPtr =
      _magickWandBindings.PixelGetColorAsNormalizedString(_wandPtr);
  String? color = colorPtr.toNullableString();
  _magickRelinquishMemory(colorPtr.cast());
  return color;
}