source: node_modules/victory-vendor/lib-vendor/d3-shape/src/symbol/circle.js

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 320 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7var _math = require("../math.js");
8var _default = exports.default = {
9 draw(context, size) {
10 const r = (0, _math.sqrt)(size / _math.pi);
11 context.moveTo(r, 0);
12 context.arc(0, 0, r, 0, _math.tau);
13 }
14};
Note: See TracBrowser for help on using the repository browser.