Table of Contents

Delegate Ellipse.PaintTo3DDelegate

Namespace
CADability.GeoObject
Assembly
CADability.dll

Signature of the OnPaintTo3D hook. The handler returns true when it has painted the ellipse itself, false to let the default painting in PaintTo3D(IPaintTo3D) proceed.

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

Parameters

toPaint Ellipse

The ellipse to paint

paintTo3D IPaintTo3D

The paint interface to paint to

Returns

bool

true if the painting is done, false for the default painting

Constructors

PaintTo3DDelegate(object, nint)

public PaintTo3DDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(Ellipse, IPaintTo3D, AsyncCallback, object)

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

Parameters

toPaint Ellipse
paintTo3D IPaintTo3D
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(Ellipse, IPaintTo3D)

public virtual bool Invoke(Ellipse toPaint, IPaintTo3D paintTo3D)

Parameters

toPaint Ellipse
paintTo3D IPaintTo3D

Returns

bool