Z
Z
Zakharov Alexander2012-01-27 14:07:22
Java
Zakharov Alexander, 2012-01-27 14:07:22

Points for moveTo, lineTo, curveTo

Some time ago, I became interested in 2D graphics in Java and Android (there is a suspicion that 3d will also be of interest). Learned that everything is drawn on canvas with moveTo, lineTo, cureTo, then fill or stroke. It seems nothing complicated, but only now the question is tormenting:

WHERE TO GET THESE POINTS TO DISPLAY BEAUTIFUL VECTOR DRAWINGS IN YOUR PROGRAM ???

This is not about simply displaying an SVG image on the screen, but about creating beautiful types of controls that are controlled programmatically, and not just rectangles or circles. After all, there are good vector editors Flash and Illustrator, in which you can make beautiful preparation of vector controls. Here's how to transfer it to a program, for example, to Java?

Do not offer alpha channels on bitmaps.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2012-01-27
@GavriKos

You can extract coordinates and objects from the flash in xml and build on it in Java.
But better - explain why you need this and what exactly "everything" is drawn on the canvas? (interface or what?)

M
MikhailEdoshin, 2012-01-27
@MikhailEdoshin

From AI, you can export to SVG. Or write a script in AI itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question