First off, I’m loving the plugin support for XD. While it may not satisfy every need at this point, I think it’s headed in the right direction so congrats to the team!
For the plugin I’m working on, I need to get at the fileOrDataURI
property of an ImageFill
object. However, whenever I try to reference that property by name, I always get back undefined
. The same goes for other properties like naturalWidth
and naturalHeight
.
I’ve also made sure the fill
instance I’m looking at is in fact of type ImageFill
(I did this by getting at the constructor.name
property).
I must be doing something wrong. Any help is much appreciated. Thanks!