Managed to get a version that somewhat works with creating a CanvasItem.


The code I used for the item is:

Code:
public class
...