Is it possible to get the width of a shape including the border and the padding? When I used the getElementProperty it seemed to ignore all the “elements” and just gave me the inner area. I then tried to grab the border and padding separately using getPropertyValue, but that wasn’t working either. Does anyone know a work around apart from hardcoding it in?
For example, let’s say I have a square, of width 10px and a border of 2px on all sides, with the id of ‘square’.
var X = hypeDocument.getElementProperty(square, 'width');
This would alert 6 as opposed to 10.