# ToString

> Returns a string representation of the matrix.

## Definition

* **Type:** Method
* **Namespace:** [Unity.VectorGraphics](/engine/6000.5/script-reference/unity/vectorgraphics.md)
* **Assembly:** UnityEngine.VectorGraphicsModule

## ToString()

Returns a string representation of the matrix.

```csharp
public override string ToString()
```

### Returns

| Type                                                           | Description                      |
| -------------------------------------------------------------- | -------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The matrix string representation |

## ToString(string)

Returns a string representation of the matrix using a format.

```csharp
public string ToString(string format)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The format to be used for the matrix components

### Returns

| Type                                                           | Description                      |
| -------------------------------------------------------------- | -------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The matrix string representation |
