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
toPaintEllipseThe ellipse 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(Ellipse, IPaintTo3D, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(Ellipse toPaint, IPaintTo3D paintTo3D, AsyncCallback callback, object @object)
Parameters
toPaintEllipsepaintTo3DIPaintTo3DcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual bool EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Returns
Invoke(Ellipse, IPaintTo3D)
public virtual bool Invoke(Ellipse toPaint, IPaintTo3D paintTo3D)
Parameters
toPaintEllipsepaintTo3DIPaintTo3D