Reputation: 16297
I have been banging my head on this for hours. What would be the equivalent of AS3's Shape
class in Objective C? Is it a UIView?
I am trying to get a bitmapfill with custom paths out of an image. In flash it is as simple as:
var mesh:Shape = new Shape();
mesh.graphics.beginBitmapFill(new MeshBitmapData(), null, true, false);
mesh.graphics.drawRect(0, 0, 400, 400);
mesh.graphics.endFill();
Is there an equivalent in Objective C? Or am I missing something all together?
Upvotes: 3
Views: 70