Sign up to request clarification or add additional context in comments.
Comments
1
You always have to distinguish between a called method and a simple attribute access. width seems to be either a property or an ordinary instance variable, not a method. Thus you can't call it but just get (or set) it's value.
widthis a method and not a property? Have you triedins.width?