<commit_before>// Copyright 2016-2022, University of Colorado Boulder

/**
 * Shape used to indicate 'reset' of something, used on ResetButton.
 * Origin is at the center of the circle.
 *
 * @author <NAME>
 */

import { Shape } from '../../kite/js/imports.js';
import optionize from '../../phet-core/js/optionize.js';
import sceneryPhet from './sceneryPhet.js';

type selfOptions = {
  startAngle?: number;
  endAngle?: number;
  arrowHeadSize?: number;
};

export default class ResetShape extends Shape {

  /**
   * @param radius of the center of the reset arrow
   */
  public constructor( radius: number, providedOptions?: selfOptions ) {
    const options = optionize<selfOptions>()( {
      startAngle: -Math.PI * 0.35,
      endAngle: ( -2 * Math.PI * 0.94 ),
      // Measured in circle's angular span, should therefore be the result of theta/360.
      arrowHeadSize: 0.18
    }, providedOptions );
    super();<commit_msg>Revert "Pixel match to published reset all buttons, see: https://github.com/phetsims/scenery-phet/issues/743"<commit_after>// Copyright 2016-2022, University of Colorado Boulder

/**
 * Shape used to indicate 'reset' of something, used on ResetButton.
 * Origin is at the center of the circle.
 *
 * @author <NAME>
 */

import { Shape } from '../../kite/js/imports.js';
import optionize from '../../phet-core/js/optionize.js';
import sceneryPhet from './sceneryPhet.js';

type selfOptions = {
  startAngle?: number;
  endAngle?: number;
  arrowHeadSize?: number;
};

export default class ResetShape extends Shape {

  /**
   * @param radius of the center of the reset arrow
   */
  public constructor( radius: number, providedOptions?: selfOptions ) {
    const options = optionize<selfOptions>()( {
      startAngle: -Math.PI * 0.35,
      endAngle: ( -2 * Math.PI * 0.95 ),
      // Measured in circle's angular span, should therefore be the result of theta/360.
      arrowHeadSize: 0.18
    }, providedOptions );
    super();
{'fraction_non_alphanumeric': 0.1309887869520897, 'fraction_numerical': 0.022935779816513763, 'mean_word_length': 3.2124463519313307, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '606507', 'n_tokens_mistral': 632, 'n_tokens_neox': 585, 'n_words': 196}