# GraphicsExtensionMethods.DrawMarker examples

Examples for [DrawMarker](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.graphicsextensionmethods/drawmarker.md) in Grasshopper2.Extensions.GraphicsExtensionMethods.

## C#

```cs
using Grasshopper2.Extensions;

// As an extension method
graphics.DrawMarker(colour, target, framing);

// As a static method
GraphicsExtensionMethods.DrawMarker(graphics, colour, target, framing);
```

## Python

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

# As an extension method
graphics.DrawMarker(colour, target, framing)

# As a static method
Grasshopper2.Extensions.GraphicsExtensionMethods.DrawMarker(graphics, colour, target, framing)
```
