Class DrawingContextExtensions
- Namespace
- HelixToolkit.Wpf.SharpDX
- Assembly
- HelixToolkit.Wpf.SharpDX.dll
Extension methods for DrawingContext.
public static class DrawingContextExtensions
- Inheritance
-
DrawingContextExtensions
- Inherited Members
Methods
DrawArc(DrawingContext, Brush?, Pen, Point, double, double, double, double)
Draws the arc.
public static void DrawArc(this DrawingContext dc, Brush? brush, Pen pen, Point position, double startAngle, double endAngle, double radiusX, double radiusY)
Parameters
dcDrawingContextThe dc.
brushBrushThe brush.
penPenThe pen.
positionPointThe position.
startAngledoubleThe start angle.
endAngledoubleThe end angle.
radiusXdoubleThe radius X.
radiusYdoubleThe radius Y.
DrawArc(DrawingContext, Brush?, Pen, Point, double, double, SweepDirection, double, double)
Draws the arc.
public static void DrawArc(this DrawingContext dc, Brush? brush, Pen pen, Point position, double startAngle, double endAngle, SweepDirection direction, double radiusX, double radiusY)
Parameters
dcDrawingContextThe dc.
brushBrushThe brush.
penPenThe pen.
positionPointThe position.
startAngledoubleThe start angle.
endAngledoubleThe end angle.
directionSweepDirectionThe direction.
radiusXdoubleThe radius X.
radiusYdoubleThe radius Y.
DrawArc(DrawingContext, Brush?, Pen, Point, Point, SweepDirection, double, double)
Draws the arc.
public static void DrawArc(this DrawingContext dc, Brush? brush, Pen pen, Point start, Point end, SweepDirection direction, double radiusX, double radiusY)
Parameters
dcDrawingContextThe dc.
brushBrushThe brush.
penPenThe pen.
startPointThe start.
endPointThe end.
directionSweepDirectionThe direction.
radiusXdoubleThe radius X.
radiusYdoubleThe radius Y.