drawSetVectorGraphics method

Future<void> drawSetVectorGraphics(
  1. String xml
)

DrawSetVectorGraphics() sets the vector graphics associated with the specified wand. Use this method with DrawGetVectorGraphics() as a method to persist the vector graphics state.

This method runs in a different isolate than the main isolate.

  • xml : the drawing wand XML.

Implementation

Future<void> drawSetVectorGraphics(String xml) async => await _magickCompute(
      _drawSetVectorGraphics,
      _DrawSetVectorGraphicsParams(
        _wandPtr.address,
        xml,
      ),
    );