made appropriate arguments optional in beginFill and lineStyle