Table of Contents

Delegate Line.PaintTo3DDelegate

Namespace
CADability.GeoObject
Assembly
CADability.dll

Handler for OnPaintTo3D.

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

Parameters

toPaint Line

the line being painted

paintTo3D IPaintTo3D

the paint interface to paint to

Returns

bool

true if the handler painted the line itself and the default painting is to be skipped, false to let the line paint itself as usual

Constructors

PaintTo3DDelegate(object, nint)

public PaintTo3DDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(Line, IPaintTo3D, AsyncCallback, object)

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

Parameters

toPaint Line
paintTo3D IPaintTo3D
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(Line, IPaintTo3D)

public virtual bool Invoke(Line toPaint, IPaintTo3D paintTo3D)

Parameters

toPaint Line
paintTo3D IPaintTo3D

Returns

bool