1.2.32 • Published 5 months ago

foxyjs v1.2.32

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

foxyjs

npm.io

A simple and powerful Javascript HTML5 SVG library.


Features

  • Out of the box interactions such as scale, move, rotate, skew, group...
  • Built in shapes, controls, animations, image filters, gradients, patterns, brushes...
  • JPG, PNG, JSON and CANVAS , PDF , DXF , AI(adobe illustrator)

Supported Browsers/Environments

ContextSupported VersionNotes
Firefox✔️modern version (tbd)
Safari✔️version >= 10.1
Opera✔️chromium based
Chrome✔️modern version (tbd)
Edge✔️chromium based
Edge Legacy
IE11
Node.js✔️Node.js installation

Installation

$ npm install foxyjs --save
// or
$ yarn add foxyjs

Browser

See browser modules for using es6 imports in the browser or use a dedicated bundler.

Quick Start

<template>
  <div id="container" width="100vw" height="100vh"></div>
</template>;

import { Stage, SVGStar } from "foxyjs";
import "foxyjs/style.css";

const container = document.getElementById("container");
const stage = new Stage(container, {
  manualGuides: true,
  smartGuides: true,
  showGrid: true,
  showRulers: true,
});
const star = new SVGStar({
  x: 100,
  y: 100,
  rx: 60,
  ry: 60,
  depth: 0.4,
  arms: 5,
  fill: "red",
});
stage.add(star);
stage.selectedElements.set(star);
stage.toggleTool("transform-tool");
1.2.27

6 months ago

1.2.28

6 months ago

1.2.29

5 months ago

1.2.30

5 months ago

1.2.31

5 months ago

1.2.32

5 months ago

1.2.12

10 months ago

1.2.13

10 months ago

1.2.16

10 months ago

1.2.17

10 months ago

1.2.14

10 months ago

1.2.15

10 months ago

1.2.18

10 months ago

1.2.19

10 months ago

1.2.20

10 months ago

1.2.23

10 months ago

1.2.24

10 months ago

1.2.21

10 months ago

1.2.22

10 months ago

1.2.25

9 months ago

1.2.26

9 months ago

1.2.11

11 months ago

1.2.10

11 months ago

1.2.9

11 months ago

1.2.8

11 months ago

1.2.7

11 months ago

1.2.6

11 months ago

1.2.5

11 months ago

1.2.4

11 months ago

1.2.3

11 months ago

1.2.2

11 months ago

1.2.1

11 months ago

1.2.0

11 months ago

1.1.9

11 months ago

1.1.8

11 months ago

1.1.7

11 months ago

1.1.6

11 months ago

1.1.5

11 months ago

1.1.4

11 months ago

1.1.3

11 months ago

1.1.2

11 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

12 months ago