-
Notifications
You must be signed in to change notification settings - Fork 0
DiGi.Core.Drawing
github-actions[bot] edited this page Jul 15, 2026
·
2 revisions
public static class ConvertInheritance System.Object → Convert
Converts a System.Drawing.Pen to a DiGi Pen.
public static DiGi.Core.Drawing.Classes.Pen? ToDiGi(this System.Drawing.Pen? pen);The System.Drawing.Pen to convert.
Pen
A Pen instance, or null if the source pen is null.
Converts a DiGi Pen to a System.Drawing.Pen.
public static System.Drawing.Pen? ToDrawing(this DiGi.Core.Drawing.Classes.Pen? pen);pen Pen
The Pen to convert.
System.Drawing.Pen
A System.Drawing.Pen instance, or null if the source pen is null.
public static class QueryInheritance System.Object → Query
Compares two images by checking if all corresponding pixels are identical.
public static bool CompareByPixels(this System.Drawing.Image? image_1, System.Drawing.Image? image_2);image_1 System.Drawing.Image
The first image to compare.
image_2 System.Drawing.Image
The second image to compare.
System.Boolean
True if both images are identical in size and pixel data; otherwise, false.