ImmediateDrawingContext Class
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public sealed class ImmediateDrawingContext : IDisposable,
IOptionalFeatureProvider
Public NotInheritable Class ImmediateDrawingContext
Implements IDisposable, IOptionalFeatureProvider
[<SealedAttribute>]
type ImmediateDrawingContext =
class
interface IDisposable
interface IOptionalFeatureProvider
end
| Inheritance | Object → ImmediateDrawingContext |
| Implements | IOptionalFeatureProvider, IDisposable |
Properties
| CurrentTransform | Gets the current transform of the drawing context. |
Methods
| Dispose() | Disposes of any resources held by the DrawingContext. |
| DrawBitmap(Bitmap, Rect) | Draws an bitmap. |
| DrawBitmap(Bitmap, Rect, Rect) | Draws an image. |
| DrawEllipse(IImmutableBrush, ImmutablePen, Point, Double, Double) | Draws an ellipse with the specified Brush and Pen. |
| DrawGlyphRun(IImmutableBrush, IImmutableGlyphRunReference) | Draws a glyph run. |
| DrawLine(ImmutablePen, Point, Point) | Draws a line. |
| DrawRectangle(ImmutablePen, Rect, Single) | Draws the outline of a rectangle. |
| DrawRectangle(IImmutableBrush, ImmutablePen, Rect, Double, Double, BoxShadows) | Draws a rectangle with the specified Brush and Pen. |
| Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| FillRectangle(IImmutableBrush, Rect, Single) | Draws a filled rectangle. |
| GetHashCode() | Serves as the default hash function. (Inherited from Object) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| PushClip(Rect) | Pushes a clip rectangle. |
| PushClip(RoundedRect) | |
| PushOpacity(Double, Rect) | Pushes an opacity value. |
| PushOpacityMask(IImmutableBrush, Rect) | Pushes an opacity mask. |
| PushPostTransform(Matrix) | Pushes a matrix post-transformation. |
| PushPreTransform(Matrix) | Pushes a matrix pre-transformation. |
| PushSetTransform(Matrix) | Sets the current matrix transformation. |
| PushTransformContainer() | Pushes a new transform context. |
| ToString() | Returns a string that represents the current object. (Inherited from Object) |
| TryGetFeature(Type) |