Author Topic: using setParent or rotate for polylines  (Read 2522 times)

Offline ehud101

  • byte
  • *
  • Posts: 8
    • View Profile
using setParent or rotate for polylines
« on: October 13, 2014, 12:28:43 pm »
Hi,
you suggested using polyline.setParent in order to get edges for a shape
the problem is that I get an error that says setParent is not a method of polylines
so how can I add my "full and regular" shape as a parent to the "lines shape"?

and, can I rotate a line?

thanks

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: using setParent or rotate for polylines
« Reply #1 on: October 13, 2014, 08:57:04 pm »
Opps, my bad. These methods don't exist in the latest official release. Use the latest beta instead.

Desktop: http://jpct.de/download/beta/jpct.jar

Android: http://jpct.de/download/beta/jpct_ae.jar

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: using setParent or rotate for polylines
« Reply #2 on: October 14, 2014, 06:03:22 am »
Nor does ExtendedPrimitives, by the way. Why won't you just release the new version, already? :- )

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: using setParent or rotate for polylines
« Reply #3 on: October 14, 2014, 09:49:41 am »
Will happen soon, i promise...kind of...

Offline ehud101

  • byte
  • *
  • Posts: 8
    • View Profile
Re: using setParent or rotate for polylines
« Reply #4 on: October 15, 2014, 01:28:56 am »
thanks egon!!

exactly what I needed!