DrawingContext Class

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public abstract class DrawingContext : IDisposable
Inheritance
Object    DrawingContext
Implements
IDisposable

Methods

Custom(ICustomDrawOperation) Draws a custom drawing operation
DisposeReleases all resources used by the DrawingContext
DisposeCore 
DrawEllipse(IBrush, IPen, Rect) Draws an ellipse with the specified Brush and Pen.
DrawEllipse(IBrush, IPen, Point, Double, Double) Draws an ellipse with the specified Brush and Pen.
DrawEllipseCore(IBrush, IPen, Rect) 
DrawGeometry(IBrush, IPen, Geometry) Draws a geometry.
DrawGeometry(IBrush, IPen, IGeometryImpl) Draws a geometry.
DrawGeometryCore(IBrush, IPen, IGeometryImpl) 
DrawGlyphRun(IBrush, GlyphRun) Draws a glyph run.
DrawImage(IImage, Rect) Draws an image.
DrawImage(IImage, Rect, Rect) Draws an image.
DrawLine(IPen, Point, Point) Draws a line.
DrawLineCore(IPen, Point, Point) 
DrawRectangle(IPen, Rect, Single) Draws the outline of a rectangle.
DrawRectangle(IBrush, IPen, RoundedRect, BoxShadows) Draws a rectangle with the specified Brush and Pen.
DrawRectangle(IBrush, IPen, Rect, Double, Double, BoxShadows) Draws a rectangle with the specified Brush and Pen.
DrawRectangleCore(IBrush, IPen, RoundedRect, BoxShadows) 
DrawText(FormattedText, Point) Draws text.
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FillRectangle(IBrush, Rect, Single) Draws a filled rectangle.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PopClipCore 
PopGeometryClipCore 
PopOpacityCore 
PopOpacityMaskCore 
PopRenderOptionsCore 
PopTransformCore 
PushClip(Rect) Pushes a clip rectangle.
PushClip(RoundedRect) Pushes a clip rectangle.
PushClipCore(Rect) 
PushClipCore(RoundedRect) 
PushGeometryClip(Geometry) Pushes a clip geometry.
PushGeometryClipCore(Geometry) 
PushOpacity(Double) Pushes an opacity value.
PushOpacityCore(Double) 
PushOpacityMask(IBrush, Rect) Pushes an opacity mask.
PushOpacityMaskCore(IBrush, Rect) 
PushRenderOptions(RenderOptions) Pushes render options.
PushRenderOptionsCore(RenderOptions) 
PushTransform(Matrix) Pushes a matrix transformation.
PushTransformCore(Matrix) 
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also