Skip to main content

RenderTargetBitmap Methods

Methods

CopyPixels(ILockedFramebuffer, AlphaFormat)Copies pixels to the target buffer and transcodes the pixel and alpha format if needed.
(Inherited from Bitmap)
CopyPixels(PixelRect, IntPtr, Int32, Int32)
(Inherited from Bitmap)
CreateDrawingContext()Creates a DrawingContext for drawing to the RenderTargetBitmap. Clears the current image data to transparent.
CreateDrawingContext(Boolean)Creates a DrawingContext for drawing to the RenderTargetBitmap.
CreateScaledBitmap(PixelSize, BitmapInterpolationMode)Creates a Bitmap scaled to a specified size from the current bitmap.
(Inherited from Bitmap)
Dispose()
(Overrides Bitmap.Dispose())
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
Render(Visual)Renders a visual to the RenderTargetBitmap.
Save(Stream, Nullable(Int32))Saves the bitmap to a stream.
(Inherited from Bitmap)
Save(String, Nullable(Int32))Saves the bitmap to a file.
(Inherited from Bitmap)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

RenderTargetBitmap Class
Avalonia.Media.Imaging Namespace