MarkRS
02/17/2022, 3:24 PMvar fred = CGPathCreateMutable()
although it could create a null (why would it do that? Surely I don't need a context for that first?) Then I'm trying to do something with it, for example "move". It should work as
fred.moveToPoint(aPoint)
but AS claims fred has no method by that name. So I thought, after @Sam's suggestion (elsewhere) that perhaps
fred.pointed.moveToPoint(aPoint)
might work, but no, the IDE refuses to believe that too. I've had to resort to
CGPathMoveToPoint(fred, x, y)
(with x & y as Kotlin doubles), and similar functions. This builds, and even runs, but no paths get built.
What am I missing?