# Sandbox.Texture.CreateFromSvgSource

```csharp
static Texture CreateFromSvgSource(string svgContents, System.Nullable<int> width, System.Nullable<int> height, System.Nullable<Color> color)
```

### Parameters

- `svgContents` (`string`)
- `width` (`System.Nullable<int>`)
- `height` (`System.Nullable<int>`)
- `color` (`System.Nullable<Color>`)

### Returns

`Texture`

Declared in [Sandbox.Texture](/api/Sandbox.Texture).
Assembly: `Sandbox.Engine`.
