Hi.
Is there a way to get the width and height of a button's skin?
I want to use the create GradientBox, like so.
// get button size
var wdth = backgroundSkin.getWidth();
var hgt = backgroundSkin.getHeight();
/createGradientBox(width:Float, height:Float,
rotation:Float = 0, tx:Float = 0, ty:Float = 0)/
_matrix.createGradientBox(wdth, hgt, 0, 0, 0);
I figure the size of the box would make a difference on how the gradient appears on the button. Or doesn't it?
It seems using this feather caused quite a bit of lag though.
So, I'm not sure it would be useful. Any thoughts on this?