Skip to content

Commit 7fbeb1c

Browse files
committed
BitmapData.line draws a line to the BitmapData in the color and thickness specified.
Lots of BitmapData updates to use local vars and 'op' property, cutting down code size.
1 parent fc8bff7 commit 7fbeb1c

3 files changed

Lines changed: 126 additions & 60 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ If you are an exceptional JavaScript developer and would like to join the Phaser
259259
* Line.midPoint will return a Point object where the x and y values correspond to the center (or midpoint) of the Line segment.
260260
* Line.rotateAround allows you to rotate a Line around the given coordinates (in world space)
261261
* Line.centerOn will position the Line so that its midpoint lays on the coordinates given.
262+
* BitmapData.line draws a line to the BitmapData in the color and thickness specified.
262263

263264
### Updates
264265

0 commit comments

Comments
 (0)