Made setTipShape() private and used it in constructor so that a valid...

Made setTipShape() private and used it in constructor so that a valid value would always be given for tipShape.