Resource Base
Table of contents

Arc

The Arc interface represents an arc in a 2D space.

interface Arc {
    x: number;
    y: number;
    radius: number;
    startAngle: number;
    endAngle: number;
} 

x

The x-coordinate of the arc’s center.

y

The y-coordinate of the arc’s center.

radius

The radius of the arc.

startAngle

The starting angle of the arc, in radians.

endAngle

The ending angle of the arc, in radians.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    Change +