Table of Contents

Delegate Hatch.PaintTo3DDelegate

Namespace
CADability.GeoObject
Assembly
CADability.dll

Signature of the handler for OnPaintTo3D. Hides Block.PaintTo3DDelegate in order to pass the hatch.

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

Parameters

toPaint Hatch

The hatch that is about to be painted

paintTo3D IPaintTo3D

The paint interface to paint to

Returns

bool

true if the handler has painted the hatch itself and the default painting must be skipped, false to let the hatch paint its contents as usual

Constructors

PaintTo3DDelegate(object, nint)

public PaintTo3DDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(Hatch, IPaintTo3D, AsyncCallback, object)

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

Parameters

toPaint Hatch
paintTo3D IPaintTo3D
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(Hatch, IPaintTo3D)

public virtual bool Invoke(Hatch toPaint, IPaintTo3D paintTo3D)

Parameters

toPaint Hatch
paintTo3D IPaintTo3D

Returns

bool