Gradient object

Canvas specific discussion

Gradient object

Postby denoiser » 16 Jul 2017 09:13

Hi all,

is there a way to check var or vector type/s?
For eg. i want to declare vector which holds path, line width, line cap, style (gradient or color).
How to check if it hold's gradient object type?
I can see that gradient object doesn't expose any properties, for eg. num of color stops, colors on each color stop etc. or is there a way to access those?

Posts: 15
Joined: 16 Jul 2017 08:51

Return to Canvas

Who is online

Users browsing this forum: Bing [Bot] and 1 guest