Skip to content

CurvedArrowShape

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery-phet/blob/main/js/CurvedArrowShape.ts for the most up-to-date information.

Overview

CurvedArrowShape draws a single- or double-headed curved arrow. Arrow heads are not curved, their tips are perpendicular to the ends of the arrow tail.

@author Chris Malley (PixelZoom, Inc.)

Class CurvedArrowShape

import { CurvedArrowShape } from 'scenerystack/scenery-phet';

Constructor

new CurvedArrowShape( radius : number, startAngle : number, endAngle : number, providedOptions? : CurvedArrowShapeOptions )

Instance Methods

Type CurvedArrowShapeOptions

import type { CurvedArrowShapeOptions } from 'scenerystack/scenery-phet';
  • doubleHead?: boolean
  • headWidth?: number
  • headHeight?: number
  • tailWidth?: number
  • anticlockwise?: boolean

Source Code

See the source for CurvedArrowShape.ts in the scenery-phet repository.