RenderContextUtility Class

Class that provide utility methods for the render context.
Public Class RenderContextUtility
This language is not supported or no code example is available.
public class RenderContextUtility
This language is not supported or no code example is available.
Methods
 
Name Description
Public method Static AreEqual(Brush, Color) Method unified between WinForms and WPF that checks the equality between a Color (WinForms) or Brush (WPF) object and another Color object.
Public method Static AreEqual(Brush, Brush) Method that checks the equality between two Brush object.
Public method Static ConvertColor(Brush) Method unified between WinForms and WPF that converts a Color or Brush to a Color.
Public method Static ConvertColor(Color) Method that converts a Color to a Brush.
Public method Static ConvertColorFromArgb(byte, byte, byte, byte) Creates a new Brush structure by using the specified sRGB alpha channel and color channel values.
Public method Static ConvertColorFromRgb(byte, byte, byte) Creates a new Brush structure by using the specified RGB color channel values.
Public method Static ConvertColorTable(Brush[]) Method unified between WinForms and WPF that converts a Color array (WinForms) or Brush array (WPF) to a Color array.
Public method Static ConvertImage(BitmapImage) Method unified between WinForms and WPF that converts a Bitmap (WinForms) or BitmapImage (WPF) to a Bitmap.
Public method Static ConvertImage(Bitmap) Method that converts a Bitmap to a BitmapSource.
Public method Static ConvertImage(ImageSource) Method unified between WinForms and WPF that converts a Image or ImageSource to a Image.
Public method Static ConvertPoint(Point) Method that converts a System.Windows.Point to a System.Drawing.Point.
Public method Static ConvertPoint(Point) Method that converts a System.Drawing.Point to a System.Windows.Point.
Public method Static DeleteObject(IntPtr)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top
devDept.Graphics.RenderContextUtility

.NET Framework

Supported in: 4.8

In this article

Definition