In the method Graphics.lineStyle() you pass the alpha as the third parameter. I don’t want to change the thickness or color which are the first 2 parameters, so is there a way I can just change the alpha? or at least “get” the thickness and color so I can re-pass them so they wont change?
Thanks!!
One option would be to wrap the graphics object that you are passing around and add getters and setters for individual properties that are otherwise only available as parameters.
Pseudo-code: