Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can I draw lines? #11

Open
sinanisler opened this issue Aug 18, 2012 · 1 comment
Open

how can I draw lines? #11

sinanisler opened this issue Aug 18, 2012 · 1 comment

Comments

@sinanisler
Copy link

how can I draw lines?

I cant quite understand how can I draw custom path :(

examples not simple lines. can you add simple line example ?

thank you.

@scharlo
Copy link

scharlo commented Jan 16, 2013

try bezier. with x and y coords. that simple.

var horizontal_line_path = new $.path.bezier({
start: { x: 120, y: 350 },
end: { x: 480, y: 350 }
});

$(element).animate({ path: horizontal_line_path });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants