Skip to content

textmode.js / Textmodifier / arc

Method: arc() ​

ts
arc(
   width, 
   height, 
   startAngle, 
   endAngle): void;

Draw an arc with the current settings. Position is controlled via translate, push, and pop.

Parameters ​

ParameterTypeDescription
widthnumberArc width in grid cells.
heightnumberArc height in grid cells.
startAnglenumberStarting angle in degrees.
endAnglenumberEnding angle in degrees.

Returns ​

void

Example ​