Skip to main content

GHIElectronics.TinyCLR.Drawing

NuGet: GHIElectronics.TinyCLR.Drawing

Classes

ClassNamespaceSummary
BitmapSystem.DrawingA raster bitmap loaded from a resource or stream (BMP/JPEG/GIF; PNG and TIFF are not supported).
BrushSystem.DrawingAbstract base for objects that fill graphics shapes (rectangles, ellipses, paths).
GraphicsSystem.Drawing2-D drawing surface backed by a Bitmap. Issue line, rectangle, ellipse, text, and image draws against this surface, then push the result to the display via Flush(IntPtr).
ImageSystem.DrawingAbstract base for raster images. Concrete subclass: Bitmap.
ImageFormatSystem.Drawing.ImagingIdentifies the file format of an image by a unique GUID.
PenSystem.DrawingDefines an object used to draw lines and outlines — color, width, and brush.
SolidBrushSystem.DrawingA brush that fills with a single solid Color.
StringFormatSystem.DrawingEncapsulates text layout information such as alignment, trimming, and format flags.

Structs

StructNamespaceSummary
ColorSystem.Drawing32-bit ARGB color value. Construct via FromArgb(int, int, int) / FromArgb(int, int, int, int), or use one of the named static constants.
RectangleSystem.DrawingAn integer rectangle defined by upper-left corner (X,Y) and size (Width,Height).
RectangleFSystem.DrawingA floating-point rectangle defined by upper-left corner (X,Y) and size (Width,Height).
SizeFSystem.DrawingA floating-point width × height size.

Enums

EnumNamespaceSummary
BitFormatSystem.DrawingSpecifies the bit ordering used when converting to 1 bit per pixel.
BitmapImageTypeSystem.DrawingIdentifies the encoded format of bitmap data.
ColorFormatSystem.DrawingSpecifies the bits-per-pixel layout of color data.
DrawTextAlignmentSystem.DrawingBit flags that control how text is aligned, wrapped, and trimmed within a rectangle.
PenTypeSystem.Drawing.Drawing2DSpecifies the type of fill a pen uses.
RgbFormatSystem.DrawingSpecifies the channel ordering of color data.
StringAlignmentSystem.DrawingSpecifies how text is aligned within its layout rectangle.
StringFormatFlagsSystem.DrawingBit flags that control text layout and rendering behavior.
StringTrimmingSystem.DrawingSpecifies how text is trimmed when it does not fit in the layout rectangle.

Delegates

DelegateNamespaceSummary
OnFlushHandlerSystem.DrawingRepresents the method that handles the flush event for a drawing surface.