Draw curve with DrawLine method

new name is TestShape
https://docs.xojo.com/TextShape
https://docs.xojo.com/StringShape
could be drawn with .DrawObject
means you create that TextShape object and paint it with g.DrawObject(shape) in your canvas paint event.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.