Hi fellow developers, I have a requirement to draw a path on a canvas (which is easy enough), but to then "stamp" symbols over it every few pixels.
In particular, the symbols I want to stamp over it are .png images, and basically change the line so that it contains 'x' shapes on it - as an example - but the shape can be any thing that can be loaded from a .png image. This could produce a line that looks like: --x--x--x--x--x-- etc. - but with the 'x' shapes rotated according to the angle of the line. Is there any particular way that this can be done? I've gone through the following classes - Paint, Path, PathEffect, Canvas and Bitmap - but cannot find any way to implement the above. The closest thing I've seen is the DashPathEffect - but all this can do is break up the line so that dashes are included. My feeling at this point is that I'm going to have to create a custom PathEffect which can do this. Is this the correct approach? Have I missed something glaringly obvious? Could any one give some advise with regards to how to create custom PathEffects ? Many thanks in advance. Regards -- Brad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---