@@ -2429,6 +2429,8 @@ class Path extends NativeFieldWrapperClass1 {
24292429 /// Adds a quadratic bezier segment that curves from the current
24302430 /// point to the given point (x2,y2), using the control point
24312431 /// (x1,y1).
2432+ ///
2433+ /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/path_quadratic_to.png)
24322434 @FfiNative < Void Function (Pointer <Void >, Float , Float , Float , Float )> ('Path::quadraticBezierTo' , isLeaf: true )
24332435 external void quadraticBezierTo (double x1, double y1, double x2, double y2);
24342436
@@ -2443,6 +2445,8 @@ class Path extends NativeFieldWrapperClass1 {
24432445 /// Adds a cubic bezier segment that curves from the current point
24442446 /// to the given point (x3,y3), using the control points (x1,y1) and
24452447 /// (x2,y2).
2448+ ///
2449+ /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/path_cubic_to.png)
24462450 @FfiNative < Void Function (Pointer <Void >, Float , Float , Float , Float , Float , Float )> ('Path::cubicTo' , isLeaf: true )
24472451 external void cubicTo (double x1, double y1, double x2, double y2, double x3, double y3);
24482452
@@ -2458,6 +2462,8 @@ class Path extends NativeFieldWrapperClass1 {
24582462 /// weight w. If the weight is greater than 1, then the curve is a
24592463 /// hyperbola; if the weight equals 1, it's a parabola; and if it is
24602464 /// less than 1, it is an ellipse.
2465+ ///
2466+ /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/path_conic_to.png)
24612467 @FfiNative < Void Function (Pointer <Void >, Float , Float , Float , Float , Float )> ('Path::conicTo' , isLeaf: true )
24622468 external void conicTo (double x1, double y1, double x2, double y2, double w);
24632469
@@ -4863,6 +4869,8 @@ class Canvas extends NativeFieldWrapperClass1 {
48634869 /// Reduces the clip region to the intersection of the current clip and the
48644870 /// given rectangle.
48654871 ///
4872+ /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/clip_rect.png)
4873+ ///
48664874 /// If [doAntiAlias] is true, then the clip will be anti-aliased.
48674875 ///
48684876 /// If multiple draw commands intersect with the clip boundary, this can result
@@ -4884,6 +4892,8 @@ class Canvas extends NativeFieldWrapperClass1 {
48844892 /// Reduces the clip region to the intersection of the current clip and the
48854893 /// given rounded rectangle.
48864894 ///
4895+ /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/clip_rrect.png)
4896+ ///
48874897 /// If [doAntiAlias] is true, then the clip will be anti-aliased.
48884898 ///
48894899 /// If multiple draw commands intersect with the clip boundary, this can result
@@ -4901,6 +4911,8 @@ class Canvas extends NativeFieldWrapperClass1 {
49014911 /// Reduces the clip region to the intersection of the current clip and the
49024912 /// given [Path] .
49034913 ///
4914+ /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/clip_path.png)
4915+ ///
49044916 /// If [doAntiAlias] is true, then the clip will be anti-aliased.
49054917 ///
49064918 /// If multiple draw commands intersect with the clip boundary, this can result
@@ -5015,6 +5027,8 @@ class Canvas extends NativeFieldWrapperClass1 {
50155027 /// stroked, the value of the [Paint.style] is ignored for this call.
50165028 ///
50175029 /// The `p1` and `p2` arguments are interpreted as offsets from the origin.
5030+ ///
5031+ /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/canvas_line.png)
50185032 void drawLine (Offset p1, Offset p2, Paint paint) {
50195033 assert (_offsetIsValid (p1));
50205034 assert (_offsetIsValid (p2));
@@ -5039,6 +5053,8 @@ class Canvas extends NativeFieldWrapperClass1 {
50395053
50405054 /// Draws a rectangle with the given [Paint] . Whether the rectangle is filled
50415055 /// or stroked (or both) is controlled by [Paint.style] .
5056+ ///
5057+ /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/canvas_rect.png)
50425058 void drawRect (Rect rect, Paint paint) {
50435059 assert (_rectIsValid (rect));
50445060 assert (paint != null );
@@ -5050,6 +5066,8 @@ class Canvas extends NativeFieldWrapperClass1 {
50505066
50515067 /// Draws a rounded rectangle with the given [Paint] . Whether the rectangle is
50525068 /// filled or stroked (or both) is controlled by [Paint.style] .
5069+ ///
5070+ /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/canvas_rrect.png)
50535071 void drawRRect (RRect rrect, Paint paint) {
50545072 assert (_rrectIsValid (rrect));
50555073 assert (paint != null );
@@ -5077,6 +5095,8 @@ class Canvas extends NativeFieldWrapperClass1 {
50775095 /// Draws an axis-aligned oval that fills the given axis-aligned rectangle
50785096 /// with the given [Paint] . Whether the oval is filled or stroked (or both) is
50795097 /// controlled by [Paint.style] .
5098+ ///
5099+ /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/canvas_oval.png)
50805100 void drawOval (Rect rect, Paint paint) {
50815101 assert (_rectIsValid (rect));
50825102 assert (paint != null );
@@ -5090,6 +5110,8 @@ class Canvas extends NativeFieldWrapperClass1 {
50905110 /// that has the radius given by the second argument, with the [Paint] given in
50915111 /// the third argument. Whether the circle is filled or stroked (or both) is
50925112 /// controlled by [Paint.style] .
5113+ ///
5114+ /// ![] (https://flutter.github.io/assets-for-api-docs/assets/dart-ui/canvas_circle.png)
50935115 void drawCircle (Offset c, double radius, Paint paint) {
50945116 assert (_offsetIsValid (c));
50955117 assert (paint != null );
0 commit comments