# GdiPlus Enumerations
{: .no_toc }

The 74 public enumerations of the package, in groups by topic. The members of an enumeration can be written with or without the name of the enumeration, as in `FillModeWinding` or `GpFillmode.FillModeWinding`.

Most of them are GDI+ enumerations, with the names and the values of the GDI+ header files, and a **Gp** in front of the name of the ones whose name a class of the package uses. **CColor**, **GraphicsCreationOptions**, **GraphicsFlags**, **FillStyleConstants** and **GpErrorHandlingStrategy** belong to the package.

## Drawing
{: .no_toc }

Lines, shapes, fills, pens, brushes, paths, regions, transformations and the settings of a drawing surface.

- [GpBrushType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpBrushType.md) -- the five kinds of brush
- [GpCombineMode](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpCombineMode.md) -- how clip regions combine
- [GpCompositingMode](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpCompositingMode.md) -- how a drawn colour combines with the background
- [GpCompositingQuality](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpCompositingQuality.md) -- gamma correction when colours are blended
- [GpCoordinateSpace](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpCoordinateSpace.md) -- world, page and device coordinates
- [GpCustomLineCapType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpCustomLineCapType.md) -- kinds of custom line cap
- [GpDashCap](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpDashCap.md) -- the ends of the dashes of a dashed line
- [GpDashStyle](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpDashStyle.md) -- the dash patterns of a pen
- [GpFillmode](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpFillmode.md) -- how a self-intersecting path is filled
- [GpFlushIntention](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpFlushIntention.md) -- when to flush the drawing queue
- [GpHatchStyle](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpHatchStyle.md) -- the 53 hatch patterns of a hatch brush
- [GpInterpolationMode](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpInterpolationMode.md) -- algorithm used to scale and rotate images
- [GpLineCap](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpLineCap.md) -- line ends and anchors
- [GpLineJoin](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpLineJoin.md) -- how two joined lines meet
- [GpLinearGradientMode](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpLinearGradientMode.md) -- direction of a linear gradient
- [GpMatrixOrder](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpMatrixOrder.md) -- order in which a transformation is applied
- [GpPathPointType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpPathPointType.md) -- point types and flags in a path
- [GpPenAlignment](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpPenAlignment.md) -- where a pen sits on the line
- [GpPenType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpPenType.md) -- the fill of a pen
- [GpPixelOffsetMode](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpPixelOffsetMode.md) -- where the centre of a pixel is
- [GpQualityMode](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpQualityMode.md) -- speed against quality
- [GpSmoothingMode](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpSmoothingMode.md) -- antialiasing of lines and curves
- [GpUnit](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpUnit.md) -- units of measure
- [GpWarpMode](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpWarpMode.md) -- perspective and bilinear warps
- [GpWrapMode](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpWrapMode.md) -- tiling of brushes and images
- [GraphicsCreationOptions](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GraphicsCreationOptions.md) -- what a Graphics object is created from
- [GraphicsFlags](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GraphicsFlags.md) -- settings of VBGraphics
- [FillStyleConstants](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/FillStyleConstants.md) -- fill style of VBGraphics

## Text
{: .no_toc }

Fonts, text layout and text rendering.

- [GpDriverStringOptions](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpDriverStringOptions.md) -- options of driver strings
- [GpFontStyle](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpFontStyle.md) -- bold, italic, underline and strikeout
- [GpGenericFontFamily](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpGenericFontFamily.md) -- the three generic font families
- [GpHotkeyPrefix](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpHotkeyPrefix.md) -- how an ampersand marks a hot key
- [GpStringAlignment](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpStringAlignment.md) -- alignment of text in its rectangle
- [GpStringDigitSubstitute](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpStringDigitSubstitute.md) -- digits that follow the user's language
- [GpStringFormatFlags](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpStringFormatFlags.md) -- layout and display options of text
- [GpStringTrimming](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpStringTrimming.md) -- how text is cut to fit
- [GpTextRenderingHint](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpTextRenderingHint.md) -- quality of rendered text

## Images
{: .no_toc }

Bitmaps, pixel formats, image files and codecs, palettes and effects.

- [HistogramFormat](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/HistogramFormat.md) -- histograms of a bitmap
- [CurveAdjustments](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/CurveAdjustments.md) -- adjustments of the ColorCurve effect
- [CurveChannel](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/CurveChannel.md) -- channels of the ColorCurve effect
- [GpEncoderParameterValueType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpEncoderParameterValueType.md) -- data types of codec parameters
- [GpEncoderValue](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpEncoderValue.md) -- values passed to image encoders
- [GpImageType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpImageType.md) -- bitmap or metafile
- [GpImageCodecFlags](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpImageCodecFlags.md) -- attributes of an image codec
- [GpPropertyTagType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpPropertyTagType.md) -- data types of image properties
- [ImageFlags](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/ImageFlags.md) -- attributes of the pixel data of an image
- [ImageLockMode](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/ImageLockMode.md) -- access modes of Bitmap.LockBits
- [ItemDataPosition](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/ItemDataPosition.md) -- where custom metadata is stored in a file
- [RotateFlipType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/RotateFlipType.md) -- rotations and flips of an image
- [DitherType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/DitherType.md) -- dithering when a bitmap is converted
- [PaletteFlags](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/PaletteFlags.md) -- attributes of a palette
- [PaletteType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/PaletteType.md) -- standard colour palettes
- [PixelFormat](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/PixelFormat.md) -- formats of the pixels of a bitmap

## Colour
{: .no_toc }

Colour values, colour channels and colour adjustment.

- [CColor](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/CColor.md) -- 140 named colours, as ARGB values
- [ColorChannelFlags](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/ColorChannelFlags.md) -- channels of the CMYK output of ImageAttributes
- [ColorMask](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/ColorMask.md) -- bit masks of the colour channels
- [ColorMode](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/ColorMode.md) -- 32-bit or 64-bit colours
- [ColorShift](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/ColorShift.md) -- bit positions of the colour channels
- [ColorAdjustType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/ColorAdjustType.md) -- which objects an adjustment applies to
- [ColorMatrixFlags](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/ColorMatrixFlags.md) -- which colours a colour matrix changes

## Metafiles
{: .no_toc }

Windows metafiles, enhanced metafiles and EMF+ files, and the records they hold.

- [GpConvertToEmfPlusFlags](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpConvertToEmfPlusFlags.md) -- results of converting an EMF to EMF+
- [GpEMR](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpEMR.md) -- record types of enhanced metafiles
- [GpEmfPlusRecordType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpEmfPlusRecordType.md) -- record types of WMF, EMF and EMF+ files
- [GpEmfToWmfBitsFlags](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpEmfToWmfBitsFlags.md) -- options of EMF to WMF conversion
- [GpEmfType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpEmfType.md) -- records written to a new metafile
- [GpMetafileFrameUnit](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpMetafileFrameUnit.md) -- unit of the frame rectangle of a metafile
- [GpMetafileFunctions](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpMetafileFunctions.md) -- function numbers of Windows metafiles
- [GpMetafileType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpMetafileType.md) -- kinds of metafile
- [GpObjectType](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpObjectType.md) -- types of object in an EMF+ record

## Platform
{: .no_toc }

Start-up, status codes and error handling.

- [GpTestControlEnum](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpTestControlEnum.md) -- internal test settings of GDI+
- [GdiplusDebugEventLevel](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GdiplusDebugEventLevel.md) -- severity of a debug event
- [GdiplusStartupParams](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GdiplusStartupParams.md) -- options of GDI+ start-up
- [GpErrorHandlingStrategy](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpErrorHandlingStrategy.md) -- what happens when a call fails
- [GpStatus](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Enumerations/GpStatus.md) -- result codes of GDI+ calls
