@@ -502,7 +502,7 @@ var Graphics = new Class({
502502
503503 /**
504504 * Fill the current path.
505- *
505+ *
506506 * This is an alias for `Graphics.fillPath` and does the same thing.
507507 * It was added to match the CanvasRenderingContext 2D API.
508508 *
@@ -539,7 +539,7 @@ var Graphics = new Class({
539539
540540 /**
541541 * Stroke the current path.
542- *
542+ *
543543 * This is an alias for `Graphics.strokePath` and does the same thing.
544544 * It was added to match the CanvasRenderingContext 2D API.
545545 *
@@ -1034,7 +1034,7 @@ var Graphics = new Class({
10341034 * Stroke the shape represented by the given array of points.
10351035 *
10361036 * Pass `closeShape` to automatically close the shape by joining the last to the first point.
1037- *
1037+ *
10381038 * Pass `closePath` to automatically close the path before it is stroked.
10391039 *
10401040 * @method Phaser.GameObjects.Graphics#strokePoints
@@ -1081,7 +1081,7 @@ var Graphics = new Class({
10811081 * Fill the shape represented by the given array of points.
10821082 *
10831083 * Pass `closeShape` to automatically close the shape by joining the last to the first point.
1084- *
1084+ *
10851085 * Pass `closePath` to automatically close the path before it is filled.
10861086 *
10871087 * @method Phaser.GameObjects.Graphics#fillPoints
@@ -1218,7 +1218,7 @@ var Graphics = new Class({
12181218 * Draw an arc.
12191219 *
12201220 * This method can be used to create circles, or parts of circles.
1221- *
1221+ *
12221222 * Make sure you call `beginPath` before starting the arc unless you wish for the arc to automatically
12231223 * close when filled or stroked.
12241224 *
@@ -1336,10 +1336,10 @@ var Graphics = new Class({
13361336
13371337 /**
13381338 * Inserts a translation command into this Graphics objects command buffer.
1339- *
1339+ *
13401340 * All objects drawn _after_ calling this method will be translated
13411341 * by the given amount.
1342- *
1342+ *
13431343 * This does not change the position of the Graphics object itself,
13441344 * only of the objects drawn by it after calling this method.
13451345 *
@@ -1363,10 +1363,10 @@ var Graphics = new Class({
13631363
13641364 /**
13651365 * Inserts a scale command into this Graphics objects command buffer.
1366- *
1366+ *
13671367 * All objects drawn _after_ calling this method will be scaled
13681368 * by the given amount.
1369- *
1369+ *
13701370 * This does not change the scale of the Graphics object itself,
13711371 * only of the objects drawn by it after calling this method.
13721372 *
@@ -1390,10 +1390,10 @@ var Graphics = new Class({
13901390
13911391 /**
13921392 * Inserts a rotation command into this Graphics objects command buffer.
1393- *
1393+ *
13941394 * All objects drawn _after_ calling this method will be rotated
13951395 * by the given amount.
1396- *
1396+ *
13971397 * This does not change the rotation of the Graphics object itself,
13981398 * only of the objects drawn by it after calling this method.
13991399 *
@@ -1448,6 +1448,10 @@ var Graphics = new Class({
14481448 * If `key` is a Canvas it will draw the texture to that canvas context. Note that it will NOT
14491449 * automatically upload it to the GPU in WebGL mode.
14501450 *
1451+ * Please understand that the texture is created via the Canvas API of the browser, therefore some
1452+ * Graphics features, such as `fillGradientStyle`, will not appear on the resulting texture,
1453+ * as they're unsupported by the Canvas API.
1454+ *
14511455 * @method Phaser.GameObjects.Graphics#generateTexture
14521456 * @since 3.0.0
14531457 *
0 commit comments