private bool TryWriteCircle(object shape, out string result) { if (_shapeConverter.CanConvert(ObjectType.Circle) && _shapeConverter.GetObjectType(shape) == ObjectType.Circle) { var circle = _shapeConverter.FromCircle(shape); result = string.Format(CultureInfo.InvariantCulture, "CIRCLE({0:F9} {1:F9} d={2:F9})", circle[0], circle[1], circle[2]); return(true); } result = default(string); return(false); }