Table of Contents

Delegate Polyline.PaintTo3DDelegate

Namespace
CADability.GeoObject
Assembly
CADability.dll

Signature of the OnPaintTo3D hook. The handler returns true when it has painted the polyline itself, false to let the default painting in PaintTo3D(IPaintTo3D) proceed.

public delegate bool Polyline.PaintTo3DDelegate(Polyline toPaint, IPaintTo3D paintTo3D)

Parameters

toPaint Polyline

The polyline to paint

paintTo3D IPaintTo3D

The paint interface to paint to

Returns

bool

true if the painting is done, false for the default painting

Constructors

PaintTo3DDelegate(object, nint)

public PaintTo3DDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(Polyline, IPaintTo3D, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(Polyline toPaint, IPaintTo3D paintTo3D, AsyncCallback callback, object @object)

Parameters

toPaint Polyline
paintTo3D IPaintTo3D
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(Polyline, IPaintTo3D)

public virtual bool Invoke(Polyline toPaint, IPaintTo3D paintTo3D)

Parameters

toPaint Polyline
paintTo3D IPaintTo3D

Returns

bool