fireball/lib/extras/curves/ArcCurve.js

19 lines
415 B
JavaScript
Raw Permalink Normal View History

2018-12-25 13:59:22 +00:00
import { EllipseCurve } from './EllipseCurve.js';
function ArcCurve( aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise ) {
EllipseCurve.call( this, aX, aY, aRadius, aRadius, aStartAngle, aEndAngle, aClockwise );
this.type = 'ArcCurve';
}
ArcCurve.prototype = Object.create( EllipseCurve.prototype );
ArcCurve.prototype.constructor = ArcCurve;
ArcCurve.prototype.isArcCurve = true;
export { ArcCurve };