Summary
Defines the interface through which drawing occurs.
- Namespace
- Avalonia
.Platform - Interfaces
-
- IDisposable
graph BT
Type-.->Interface0["IDisposable"]
Type["IDrawingContextImpl"]
class Type type-node
Syntax
public interface IDrawingContextImpl : IDisposable
Properties
Methods
Name | Value | Summary |
---|---|---|
Clear |
void |
Clears the render target to the specified color.
|
CreateLayer |
I |
Creates a new
IRenderTargetBitmapImpl that can be used as a render layer
for the current render target.
|
Custom |
void |
Adds a custom draw operation
|
DrawBitmap |
void |
Draws a bitmap image.
|
DrawBitmap |
void |
Draws a bitmap image.
|
DrawGeometry |
void |
Draws a geometry.
|
DrawGlyphRun |
void |
Draws a glyph run.
|
DrawLine |
void |
Draws a line.
|
DrawRectangle |
void |
Draws a rectangle with the specified Brush and Pen.
|
DrawText |
void |
Draws text.
|
PopBitmapBlendMode |
void |
Pops the latest pushed bitmap blending value.
|
PopClip |
void |
Pops the latest pushed clip rectangle.
|
PopGeometryClip |
void |
Pops the latest pushed geometry clip.
|
PopOpacity |
void |
Pops the latest pushed opacity value.
|
PopOpacityMask |
void |
Pops the latest pushed opacity mask.
|
PushBitmapBlendMode |
void |
Pushes a bitmap blending value.
|
PushClip |
void |
Pushes a clip rectangle.
|
PushClip |
void |
Pushes a clip rounded rectangle.
|
PushGeometryClip |
void |
Pushes a clip geometry.
|
PushOpacity |
void |
Pushes an opacity value.
|
PushOpacityMask |
void |
Pushes an opacity mask
|