Table of Contents

Delegate Solid.PaintTo3DDelegate

Namespace
CADability.GeoObject
Assembly
CADability.dll

Signature of OnPaintTo3D.

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

Parameters

toPaint Solid

the solid being painted

paintTo3D IPaintTo3D

the paint interface to paint to

Returns

bool

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

Constructors

PaintTo3DDelegate(object, nint)

public PaintTo3DDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(Solid, IPaintTo3D, AsyncCallback, object)

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

Parameters

toPaint Solid
paintTo3D IPaintTo3D
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(Solid, IPaintTo3D)

public virtual bool Invoke(Solid toPaint, IPaintTo3D paintTo3D)

Parameters

toPaint Solid
paintTo3D IPaintTo3D

Returns

bool