two.js icon indicating copy to clipboard operation
two.js copied to clipboard

A renderer agnostic two-dimensional drawing api for the web.

Results 89 two.js issues
Sort by recently updated
recently updated
newest added

Does a way to draw inner border for a shape exists ?

enhancement

Do you think about making react-native renders (for ios & android)?

enhancement

Each `clone` method on a Two.js shape needs to be added to the test suite.

stabilize

Add unit tests for headless environments, web workers, and module declarations. This is also testable in the browser.

stabilize

I am sorry if the question is trivial. In the docs, I only see one example featuring mouse event response through svg element. Does two.js only have interactive support for...

enhancement

If there is possibility add ability to change stroke width for one point. ![image](https://user-images.githubusercontent.com/41632592/47263598-81d70680-d4fc-11e8-94d2-e9b0f113de02.png)

enhancement
question

I'm using the latest version (production) and attempting to change the height of a rectangle. But when I do that, the rectangle seems to scale from it's center instead of...

enhancement

Is there a way to use a group to mask another group? I tried it and it didn't work. It looks like [snap.svg](http://snapsvg.io/) is supporting it .

enhancement
question

According to the [W3C recommendation](https://www.w3.org/TR/SVG/pservers.html#LinearGradientElementGradientUnitsAttribute) the default value of `gradientUnits` attribute is `objectBoundingBox` if not specified. This PR changes SVG render to use `objectBoundingBox` as default value instead `userSpaceOnUse`.