Skip to content

1681-engine / pixel / pixelPaint / xMark

Function: xMark() ​

ts
function xMark(
   g, 
   x, 
   y, 
   r, 
   color
): void;

Defined in: src/pixel/pixelPaint.ts:190

A pixel X, r from its centre to a tip.

Parameters ​

ParameterType
gGraphics
xnumber
ynumber
rnumber
colornumber

Returns ​

void

Released under the MIT License.