Skip to content Skip to sidebar Skip to footer

Using Setattribute With An Array Of Raphael Paths

When 'things' in the following code is an array of paths... things.square = [ RM.path('m 154.21525,71.431259 74.32805,0 0,70.496711 -74.32805,0 0,-70.496711 z').attr(attr),

Solution 1:

I don't quite understand the purpose of the code but I would check if attr2 is valid - that's the only significant thing that the two paths differ in.
Also posting the error message and what objects are null when the exception occurs would be nice.


Post a Comment for "Using Setattribute With An Array Of Raphael Paths"