Table of Contents

Delegate BlockRef.PaintTo3DDelegate

Namespace
CADability.GeoObject
Assembly
CADability.dll

Signature of the handler for OnPaintTo3D.

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

Parameters

toPaint BlockRef

The block reference that is about to be painted

paintTo3D IPaintTo3D

The paint interface to paint to

Returns

bool

true if the handler has painted the reference itself and the default painting must be skipped, false to let the reference paint the referenced block as usual

Constructors

PaintTo3DDelegate(object, nint)

public PaintTo3DDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(BlockRef, IPaintTo3D, AsyncCallback, object)

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

Parameters

toPaint BlockRef
paintTo3D IPaintTo3D
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(BlockRef, IPaintTo3D)

public virtual bool Invoke(BlockRef toPaint, IPaintTo3D paintTo3D)

Parameters

toPaint BlockRef
paintTo3D IPaintTo3D

Returns

bool