drawSetFontFamily method

bool drawSetFontFamily(
  1. String fontFamily
)

DrawSetFontFamily() sets the font family to use when annotating with text.

  • fontFamily : font family

Implementation

bool drawSetFontFamily(String fontFamily) => using(
      (Arena arena) => _magickWandBindings.DrawSetFontFamily(
        _wandPtr,
        fontFamily.toNativeUtf8(allocator: arena).cast(),
      ),
    ).toBool();