Coder Social home page Coder Social logo

snap.svg.freetransform's People

Contributors

danny-toi avatar ibrierley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

snap.svg.freetransform's Issues

Change center.disc to a rectangle shape and fill the highlighted area

Could you give me any pointers in regards to updating the ' ft.handles.center.disc' so that instead of being a circle in the middle of an element with the plugin applied, it becomes a rectangle shape which matches the size of the selected element? My hope is that then you could drag and move an element anywhere inside the selected area?

Boundary functionality removed?

I noticed that the Boundary attribute is missing in your version, did you completely remove the functionality or did you replace it with and am I looking over it?

Update bbox() values of the transform tool

Is it possible to update the bbox() values of the FreeTransform plugin dynamically, for instance if I change the stroke size on a dynamically I need to update the FreeTransform plugin to account for the increase in size.

I was thinking if I get the bbox() values of the I'm re-styling on the fly I could then pass these values to the plugin to resize the FreeTransform handles etc ...

Is this possible?

customCorners not working !

Is the customCorners option supported ?
I was trying and got some error , and I cant find any code supporting "customCorners" option.

Nested transforms create problem when dragging.

If you have an inner g element and an outer one, and both have transforms, the element doesn't follow the drag handler.

Currently it takes the transform of the freetransform group. This feels wrong, but works fine if only the element itself has a transform. Possibly the drag handler should take the global transform into account somehow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.