drawSetDensity method

bool drawSetDensity(
  1. String density
)

DrawSetDensity() sets the vertical and horizontal resolution.

  • density : the vertical and horizontal resolution

Implementation

bool drawSetDensity(String density) => using(
      (Arena arena) => _magickWandBindings.DrawSetDensity(
        _wandPtr,
        density.toNativeUtf8(allocator: arena).cast(),
      ),
    ).toBool();