Delegate Block.PaintTo3DDelegate
- Namespace
- CADability.GeoObject
- Assembly
- CADability.dll
Signature of the handler for OnPaintTo3D.
public delegate bool Block.PaintTo3DDelegate(Block toPaint, IPaintTo3D paintTo3D)
Parameters
toPaintBlockThe block that is about to be painted
paintTo3DIPaintTo3DThe paint interface to paint to
Returns
- bool
true if the handler has painted the block itself and the default painting must be skipped, false to let the block paint its contained objects as usual
Constructors
PaintTo3DDelegate(object, nint)
public PaintTo3DDelegate(object @object, nint method)
Parameters
Methods
BeginInvoke(Block, IPaintTo3D, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(Block toPaint, IPaintTo3D paintTo3D, AsyncCallback callback, object @object)
Parameters
toPaintBlockpaintTo3DIPaintTo3DcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual bool EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Returns
Invoke(Block, IPaintTo3D)
public virtual bool Invoke(Block toPaint, IPaintTo3D paintTo3D)
Parameters
toPaintBlockpaintTo3DIPaintTo3D