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
paintToBackgroundIPaintTo3DPainting engine
modelViewModelViewModelView issuing the event
handledModelView.BackgroungTaskHandledSet flags to indicate which tasks were handled
Constructors
PaintBackgroundDelegate(object, nint)
public PaintBackgroundDelegate(object @object, nint method)
Parameters
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
paintToBackgroundIPaintTo3DmodelViewModelViewhandledModelView.BackgroungTaskHandledcallbackAsyncCallbackobjectobject
Returns
EndInvoke(out BackgroungTaskHandled, IAsyncResult)
public virtual void EndInvoke(out ModelView.BackgroungTaskHandled handled, IAsyncResult result)
Parameters
handledModelView.BackgroungTaskHandledresultIAsyncResult
Invoke(IPaintTo3D, ModelView, out BackgroungTaskHandled)
public virtual void Invoke(IPaintTo3D paintToBackground, ModelView modelView, out ModelView.BackgroungTaskHandled handled)
Parameters
paintToBackgroundIPaintTo3DmodelViewModelViewhandledModelView.BackgroungTaskHandled