I agree. But you could avoid all the getXXX() calls by introducing two new variables for the width/height of the line and keeping width and height as they are for the width/height of the component.
Type: Posts; User: pbrockway2
I agree. But you could avoid all the getXXX() calls by introducing two new variables for the width/height of the line and keeping width and height as they are for the width/height of the component.
It is, but you can always widen the visibility of methods being overridden.
It is good practice to annotate methods that you are overriding. ("Overriding" just means that the method is...