IDrawingContextImpl Interface
Defines the interface through which drawing occurs.
Namespace: Avalonia.PlatformAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[UnstableAttribute]
public interface IDrawingContextImpl : IDisposable
<UnstableAttribute>
Public Interface IDrawingContextImpl
Inherits IDisposable
[<UnstableAttribute>]
type IDrawingContextImpl =
interface
interface IDisposable
end
- Implements
- IDisposable
| Transform |
Gets or sets the current transform of the drawing context.
|
| Clear(Color) |
Clears the render target to the specified color.
|
| CreateLayer(PixelSize) |
Creates a new IRenderTargetBitmapImpl that can be used as a render layer
for the current render target.
|
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) |
| DrawBitmap(IBitmapImpl, IBrush, Rect, Rect) |
Draws a bitmap image.
|
| DrawBitmap(IBitmapImpl, Double, Rect, Rect) |
Draws a bitmap image.
|
| DrawEllipse(IBrush, IPen, Rect) |
Draws an ellipse with the specified Brush and Pen.
|
| DrawGeometry(IBrush, IPen, IGeometryImpl) |
Draws a geometry.
|
| DrawGlyphRun(IBrush, IGlyphRunImpl) |
Draws a glyph run.
|
| DrawLine(IPen, Point, Point) |
Draws a line.
|
| DrawRectangle(IBrush, IPen, RoundedRect, BoxShadows) |
Draws a rectangle with the specified Brush and Pen.
|
| DrawRegion(IBrush, IPen, IPlatformRenderInterfaceRegion) |
Draws the specified region with the specified Brush and Pen.
|
| GetFeature(Type) |
Attempts to get an optional feature from the drawing context implementation.
|
| PopClip |
Pops the latest pushed clip rectangle.
|
| PopGeometryClip |
Pops the latest pushed geometry clip.
|
| PopLayer |
Pops the latest pushed intermediate surface layer.
|
| PopOpacity |
Pops the latest pushed opacity value.
|
| PopOpacityMask |
Pops the latest pushed opacity mask.
|
| PopRenderOptions |
Pops the latest render options.
|
| PushClip(IPlatformRenderInterfaceRegion) |
Pushes a clip region.
|
| PushClip(Rect) |
Pushes a clip rectangle.
|
| PushClip(RoundedRect) |
Pushes a clip rounded rectangle.
|
| PushGeometryClip(IGeometryImpl) |
Pushes a clip geometry.
|
| PushLayer(Rect) |
Enforces rendering to happen on an intermediate surface
|
| PushOpacity(Double, NullableRect) |
Pushes an opacity value.
|
| PushOpacityMask(IBrush, Rect) |
Pushes an opacity mask.
|
| PushRenderOptions(RenderOptions) |
Pushes render options.
|