Accessibility: Possible to "see"/capture content?

I wan't to build something that interacts with an external application, but that external application doesn't work well with Mac accessibility.. I've used the inspector to navigate as far/deep as I could and I'm left with a very large UI element that has various functions within it - and I want to interact with one of those functions..

I was wondering if it were possible with the accessibility APIs to see what that element looks like (like a screenshot?) which I could then use to work out where in that UI a particular button is and what it's current state is - by analysing the image