ImageDrawTextEx method
void
ImageDrawTextEx(
- StructPointer<
ImageD> dst, - FontD font,
- MemoryPointer<
RChar> text, - Vector2D position,
- double fontSize,
- double spacing,
- ColorD tint,
override
Draw text (custom sprite font) within an image (destination)
Implementation
@override
void ImageDrawTextEx(
StructPointer<ImageD> dst,
FontD font,
MemoryPointer<RChar> text,
Vector2D position,
double fontSize,
double spacing,
ColorD tint,
) => _ffi.ImageDrawTextEx(
dst.asNativePointer(),
$.Font$.Ref1(font).asNativePointer<FontC>().ref,
text.asNativePointer(),
$.Vector2$.Ref1(position).asNativePointer<Vector2C>().ref,
fontSize,
spacing,
$.Color$.Ref1(tint).asNativePointer<ColorC>().ref,
);