Quantcast
Viewing all articles
Browse latest Browse all 3780

Object2D, its subclasses and Group2D

Good evening (o;

Currently experimenting with Object2D and its family classes…

From previous answers in another thread people use separate Arrays to hold the different subclasses of Object2D like PixmapShape, RectShape, TextShape and so on.

Is this really the way to go?

Also for example when I add several PixmapShapes in a Group2D and want to iterate through, I only get Object2D back. So no way to get to the specific Methods/Properties of the PixmapShape stored in that group.

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3780

Trending Articles