drawGetStrokeDashArray method

Float64List? drawGetStrokeDashArray()

DrawGetStrokeDashArray() returns an array representing the pattern of dashes and gaps used to stroke paths (see DrawSetStrokeDashArray)

Implementation

Float64List? drawGetStrokeDashArray() => using(
      (Arena arena) {
        final Pointer<Size> numberElementsPtr = arena();
        final Pointer<Double> arrayPtr =
            _magickWandBindings.DrawGetStrokeDashArray(
          _wandPtr,
          numberElementsPtr,
        );
        Float64List? array = arrayPtr.toFloat64List(numberElementsPtr.value);
        _magickRelinquishMemory(arrayPtr.cast());
        return array;
      },
    );