Delegate Path.PaintTo3DDelegate
- Namespace
- CADability.GeoObject
- Assembly
- CADability.dll
Signature of the OnPaintTo3D hook. The handler returns true when it has painted the path itself, false to let the default painting in PaintTo3D(IPaintTo3D) proceed.
public delegate bool Path.PaintTo3DDelegate(Path toPaint, IPaintTo3D paintTo3D)
Parameters
toPaintPathThe path to paint
paintTo3DIPaintTo3DThe 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
Methods
BeginInvoke(Path, IPaintTo3D, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(Path toPaint, IPaintTo3D paintTo3D, AsyncCallback callback, object @object)
Parameters
toPaintPathpaintTo3DIPaintTo3DcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual bool EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Returns
Invoke(Path, IPaintTo3D)
public virtual bool Invoke(Path toPaint, IPaintTo3D paintTo3D)
Parameters
toPaintPathpaintTo3DIPaintTo3D