DrawingContext
Close()
DisposeCore()
DrawDrawing(Drawing)
DrawEllipse(Brush, Pen, Point, Double, Double)
DrawEllipse(Brush, Pen, Point, AnimationClock, Double, AnimationClock, Double, AnimationClock)
DrawGeometry(Brush, Pen, Geometry)
DrawGlyphRun(Brush, GlyphRun)
DrawImage(ImageSource, Rect)
DrawImage(ImageSource, Rect, AnimationClock)
DrawLine(Pen, Point, Point)
DrawLine(Pen, Point, AnimationClock, Point, AnimationClock)
DrawRectangle(Brush, Pen, Rect)
DrawRectangle(Brush, Pen, Rect, AnimationClock)
DrawRoundedRectangle(Brush, Pen, Rect, Double, Double)
DrawRoundedRectangle(Brush, Pen, Rect, AnimationClock, Double, AnimationClock, Double, AnimationClock)
DrawText(FormattedText, Point)
DrawVideo(MediaPlayer, Rect)
DrawVideo(MediaPlayer, Rect, AnimationClock)
Pop()
PushClip(Geometry)
PushEffect(BitmapEffect, BitmapEffectInput)
PushGuidelineSet(GuidelineSet)
PushOpacity(Double)
PushOpacity(Double, AnimationClock)
PushOpacityMask(Brush)
PushTransform(Transform)
VerifyApiNonstructuralChange()
net481
namespace System.Windows.Media
{
public abstract class DrawingContext : DispatcherObject, IDisposable
{
public abstract void DrawLine(Pen pen, Point point0, AnimationClock point0Animations, Point point1, AnimationClock point1Animations);
}
}
| NetFx Compat Lab | 0.5 % Reference this API |
|---|---|
| .NET | 5.06.07.08.09.0 |
| .NET Core | 3.03.1 |
| .NET Framework | 3.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net481 | |
| Assembly | PresentationCore , Version=4.0.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs to set |
| Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API