> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface ICanvas

Namespace: [VM.Models.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre)\
Assembly: VM.Models.Pre.dll

```csharp theme={null}
public interface ICanvas
```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Properties

### Color

```csharp theme={null}
Color Color { set; }
```

#### Property Value

Color

### LineWeight

```csharp theme={null}
double LineWeight { set; }
```

#### Property Value

double

### TextSize

```csharp theme={null}
double TextSize { set; }
```

#### Property Value

double

### WireframeMode

```csharp theme={null}
bool WireframeMode { set; }
```

#### Property Value

bool

## Methods

### Clear()

```csharp theme={null}
void Clear()
```

### DisplayTheFront()

```csharp theme={null}
void DisplayTheFront()
```

### DisplayTheFront(double)

```csharp theme={null}
void DisplayTheFront(double depthRange)
```

#### Parameters

`depthRange` double

### DrawLine(Vector, Vector)

```csharp theme={null}
UIntPtr DrawLine(Vector start, Vector end)
```

#### Parameters

`start` Vector

`end` Vector

#### Returns

UIntPtr

### DrawMarker(Vector)

```csharp theme={null}
UIntPtr DrawMarker(Vector vector)
```

#### Parameters

`vector` Vector

#### Returns

UIntPtr

### DrawText(Vector, string)

```csharp theme={null}
UIntPtr DrawText(Vector vector, string text)
```

#### Parameters

`vector` Vector

`text` string

#### Returns

UIntPtr

### FastDrawLine(UIntPtr, UIntPtr)

```csharp theme={null}
void FastDrawLine(UIntPtr start, UIntPtr end)
```

#### Parameters

`start` UIntPtr

`end` UIntPtr

### FastDrawShell(UIntPtr, ulong, UIntPtr, ulong, double)

```csharp theme={null}
void FastDrawShell(UIntPtr points, ulong nPoints, UIntPtr connectivities, ulong nConnectivities, double dScale)
```

#### Parameters

`points` UIntPtr

`nPoints` ulong

`connectivities` UIntPtr

`nConnectivities` ulong

`dScale` double

### GetSubCanvas(string)

```csharp theme={null}
ICanvas GetSubCanvas(string canvasName)
```

#### Parameters

`canvasName` string

#### Returns

[ICanvas](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.ICanvas.md)

### Instantiate(IHasKeyObject, TMatrix)

```csharp theme={null}
void Instantiate(IHasKeyObject @object, TMatrix matrix)
```

#### Parameters

`object` [IHasKeyObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.IHasKeyObject.md)

`matrix` TMatrix

### SetMarkerSymbol(MarkerTypes, double)

```csharp theme={null}
void SetMarkerSymbol(MarkerTypes markerType, double size)
```

#### Parameters

`markerType` MarkerTypes

`size` double
