ImageManager.drawLine

Draws a line.

class ImageManager
final
bool
drawLine
(
ptrdiff_t startX
,
ptrdiff_t startY
,
ptrdiff_t endX
,
ptrdiff_t endY
,)

Parameters

startX ptrdiff_t

The start x coordinate.

startY ptrdiff_t

The start y coordinate.

endX ptrdiff_t

The end x coordinate.

endY ptrdiff_t

The end y coordinate.

color Color

The color.

Return Value

Type: bool

True if the action was successfully executed, false otherwise.

Meta