swift - Xcode resize vector shape generated with paintcode -


i created vector shape paintcode need draw image barbuttonitem; know have use mybarbuttonitem.image = stylekit.imageofcanvas1(cgrectmake(0, 0, 30, 30)), result

enter image description here

so how can solve problem?

edit: here paintcode file https://www.dropbox.com/s/o0yl27fax0sn8ib/menuball.pcvd?dl=0

you need draw frame around shape, if didn't it. need specify how shape behaves when resized. can start here: https://www.paintcodeapp.com/documentation/frames#frames


Comments