Skip to content

CurvedArrowShape

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.