Table of Contents

Class DrawingContextExtensions

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.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

dc DrawingContext

The dc.

brush Brush

The brush.

pen Pen

The pen.

position Point

The position.

startAngle double

The start angle.

endAngle double

The end angle.

radiusX double

The radius X.

radiusY double

The 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

dc DrawingContext

The dc.

brush Brush

The brush.

pen Pen

The pen.

position Point

The position.

startAngle double

The start angle.

endAngle double

The end angle.

direction SweepDirection

The direction.

radiusX double

The radius X.

radiusY double

The 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

dc DrawingContext

The dc.

brush Brush

The brush.

pen Pen

The pen.

start Point

The start.

end Point

The end.

direction SweepDirection

The direction.

radiusX double

The radius X.

radiusY double

The radius Y.