Table of Contents

Delegate ModelView.PaintBackgroundDelegate

Namespace
CADability
Assembly
CADability.dll

Delegate definition for background painting event. The painting of the coordinate cross and arrows, the grid and the DrawingPlane can be modified using this event

public delegate void ModelView.PaintBackgroundDelegate(IPaintTo3D paintToBackground, ModelView modelView, out ModelView.BackgroungTaskHandled handled)

Parameters

paintToBackground IPaintTo3D

Painting engine

modelView ModelView

ModelView issuing the event

handled ModelView.BackgroungTaskHandled

Set flags to indicate which tasks were handled

Constructors

PaintBackgroundDelegate(object, nint)

public PaintBackgroundDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(IPaintTo3D, ModelView, out BackgroungTaskHandled, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(IPaintTo3D paintToBackground, ModelView modelView, out ModelView.BackgroungTaskHandled handled, AsyncCallback callback, object @object)

Parameters

paintToBackground IPaintTo3D
modelView ModelView
handled ModelView.BackgroungTaskHandled
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(out BackgroungTaskHandled, IAsyncResult)

public virtual void EndInvoke(out ModelView.BackgroungTaskHandled handled, IAsyncResult result)

Parameters

handled ModelView.BackgroungTaskHandled
result IAsyncResult

Invoke(IPaintTo3D, ModelView, out BackgroungTaskHandled)

public virtual void Invoke(IPaintTo3D paintToBackground, ModelView modelView, out ModelView.BackgroungTaskHandled handled)

Parameters

paintToBackground IPaintTo3D
modelView ModelView
handled ModelView.BackgroungTaskHandled