All files / svg-shape svg-arc.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12                       
/** An arc around the center of an element, for `createSvgArcPath` and its siblings (0° up, clockwise). */
export interface SvgArc {
  /** The element whose visible center is the center of the arc, such as the hub of a gauge. */
  readonly center: SVGGraphicsElement;
  /** In the coordinates of the drawn path. */
  readonly radius: number;
  /** In degrees. */
  readonly startAngle: number;
  /** The opening in degrees: positive clockwise, 360 for a full circle. */
  readonly sweepAngle: number;
}