# PixelTextExtensionMethods.DrawPixelSymbol examples

Examples for [DrawPixelSymbol](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.pixeltextextensionmethods/drawpixelsymbol.md) in Grasshopper2.Extensions.PixelTextExtensionMethods.

## C#

```cs
using Grasshopper2.Extensions;

// As an extension method
graphics.DrawPixelSymbol(c, edge, x, y);

// As a static method
PixelTextExtensionMethods.DrawPixelSymbol(graphics, c, edge, x, y);
```

## Python

```python
import clr
clr.AddReference('Grasshopper2')
import Grasshopper2.Extensions
clr.ImportExtensions(Grasshopper2.Extensions)

# As an extension method
graphics.DrawPixelSymbol(c, edge, x, y)

# As a static method
Grasshopper2.Extensions.PixelTextExtensionMethods.DrawPixelSymbol(graphics, c, edge, x, y)
```
