lineTo method Null safety

  1. @FfiNative<Void Function(Pointer<Void>, Float, Float)>(Pointer<Void>, Float, Float)>('Path::lineTo', isLeaf: true)
void lineTo(
  1. double x,
  2. double y
)
FfiNative<Void Function(Pointer<Void>, Float, Float)>(Pointer<Void>, Float, Float)>('Path::lineTo', isLeaf: true)">@FfiNative<Void Function(Pointer<Void>, Float, Float)>(Pointer<Void>, Float, Float)>('Path::lineTo', isLeaf: true)

Adds a straight line segment from the current point to the given point.

Implementation

@FfiNative<Void Function(Pointer<Void>, Float, Float)>('Path::lineTo', isLeaf: true)
external void lineTo(double x, double y);