Table of Contents

Delegate Shell.PaintTo3DDelegate

Namespace
CADability.GeoObject
Assembly
CADability.dll

Signature of OnPaintTo3D.

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

Parameters

toPaint Shell

the shell being painted

paintTo3D IPaintTo3D

the paint interface to paint to

Returns

bool

true if the handler has painted the shell and the default painting is to be skipped, false to let CADability paint the shell

Constructors

PaintTo3DDelegate(object, nint)

public PaintTo3DDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(Shell, IPaintTo3D, AsyncCallback, object)

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

Parameters

toPaint Shell
paintTo3D IPaintTo3D
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(Shell, IPaintTo3D)

public virtual bool Invoke(Shell toPaint, IPaintTo3D paintTo3D)

Parameters

toPaint Shell
paintTo3D IPaintTo3D

Returns

bool