# PixelTextExtensionMethods class

Namespace: [Grasshopper2.Extensions](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.extensions.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public static class PixelTextExtensionMethods
```

Provides extension methods for the Eto graphics object.

## Methods

- [DrawPixelChar](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.pixeltextextensionmethods/drawpixelchar.md): (static) Draw a single pixel character.
- [DrawPixelDigit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.pixeltextextensionmethods/drawpixeldigit.md): (static)
- [DrawPixelSymbol](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.pixeltextextensionmethods/drawpixelsymbol.md): (static)
- [DrawPixelText](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.pixeltextextensionmethods/drawpixeltext.md): (static) Draw a pixel string.
- [MeasurePixelText](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.pixeltextextensionmethods/measurepixeltext.md): (static) Measure the width and height of a pixel string.
- [PixelCharHeight](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.pixeltextextensionmethods/pixelcharheight.md): (static) Gets the height of the bounding box of a char. Note that at this moment this function always returns 12, regardless of the char. Maybe one day I'll add a descender and ascender method, but today is not that day.
- [PixelCharWidth](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.pixeltextextensionmethods/pixelcharwidth.md): (static) Gets the width of the bounding box of a char.
- [PixelStringWidth](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.pixeltextextensionmethods/pixelstringwidth.md): (static) Measure the width of a string. This includes all known characters, spacing and kerning.
