# GdiPlus Types
{: .no_toc }

The structures of the package that a program works with: points, sizes and rectangles, colours, the descriptions of paths, bitmap data, metafile headers, the settings that start GDI+ and the parameters of the effects.

A type is a user-defined type, a value with fields and sometimes methods. It is passed and assigned by value, and it needs no `New`. Most have a module function of the same name that returns a filled one, as in `GpRect(0, 0, 10, 10)`. The pages follow the structures of the GDI+ C++ wrapper that they mirror; the classes, which hold a GDI+ object, are on the pages of the section itself.

## Geometry
{: .no_toc }

- [GpPoint](/tB/Packages/Contributed/GdiPlus/Types/GpPoint.md) -- a point with **Long** coordinates
- [GpPointF](/tB/Packages/Contributed/GdiPlus/Types/GpPointF.md) -- a point or vector with **Single** coordinates
- [GpSize](/tB/Packages/Contributed/GdiPlus/Types/GpSize.md) -- a size with **Long** values
- [GpSizeF](/tB/Packages/Contributed/GdiPlus/Types/GpSizeF.md) -- a size with **Single** values
- [GpRect](/tB/Packages/Contributed/GdiPlus/Types/GpRect.md) -- a rectangle with **Long** values
- [GpRectF](/tB/Packages/Contributed/GdiPlus/Types/GpRectF.md) -- a rectangle with **Single** values
- [CharacterRange](/tB/Packages/Contributed/GdiPlus/Types/CharacterRange.md) -- a range of characters of a string, for measuring

## Colour
{: .no_toc }

- [Color](/tB/Packages/Contributed/GdiPlus/Types/Color.md) -- a colour with alpha, red, green and blue channels
- [ColorMatrix](/tB/Packages/Contributed/GdiPlus/Types/ColorMatrix.md) -- a 5 by 5 matrix that transforms colours
- [ColorChannelLUT](/tB/Packages/Contributed/GdiPlus/Types/ColorChannelLUT.md) -- a lookup table for one colour channel
- [ColorMap](/tB/Packages/Contributed/GdiPlus/Types/ColorMap.md) -- a pair of colours, for remapping
- [ColorPalette](/tB/Packages/Contributed/GdiPlus/Types/ColorPalette.md) -- the colour table of an indexed bitmap

## Starting GDI+
{: .no_toc }

- [GdiplusStartupInput](/tB/Packages/Contributed/GdiPlus/Types/GdiplusStartupInput.md) -- the settings GDI+ is started with
- [GdiplusStartupOutput](/tB/Packages/Contributed/GdiPlus/Types/GdiplusStartupOutput.md) -- the hook and unhook functions returned when the background thread is suppressed

## Paths
{: .no_toc }

- [PathPointType](/tB/Packages/Contributed/GdiPlus/Types/PathPointType.md) -- the type of one point of a path
- [PathType](/tB/Packages/Contributed/GdiPlus/Types/PathType.md) -- a run of points of one type in a figure
- [TypedPoint](/tB/Packages/Contributed/GdiPlus/Types/TypedPoint.md) -- a point of a path with its type
- [TypedPoints](/tB/Packages/Contributed/GdiPlus/Types/TypedPoints.md) -- an array of typed points
- [SubPath](/tB/Packages/Contributed/GdiPlus/Types/SubPath.md) -- the extent of one figure of a path
- [SubPathPath](/tB/Packages/Contributed/GdiPlus/Types/SubPathPath.md) -- one figure of a path, as a path of its own
- [Marker](/tB/Packages/Contributed/GdiPlus/Types/Marker.md) -- the extent of one section of a path between markers
- [MarkerPath](/tB/Packages/Contributed/GdiPlus/Types/MarkerPath.md) -- one section between markers, as a path of its own

## Images and metafiles
{: .no_toc }

- [BitmapData](/tB/Packages/Contributed/GdiPlus/Types/BitmapData.md) -- the locked pixels of a bitmap
- [MetafileHeader](/tB/Packages/Contributed/GdiPlus/Types/MetafileHeader.md) -- the header of a metafile
- [WmfPlaceableFileHeader](/tB/Packages/Contributed/GdiPlus/Types/WmfPlaceableFileHeader.md) -- the placeable header of a Windows metafile
- [PWMFRect16](/tB/Packages/Contributed/GdiPlus/Types/PWMFRect16.md) -- the 16-bit rectangle of that header
- [GpPropertyItem](/tB/Packages/Contributed/GdiPlus/Types/GpPropertyItem.md) -- one property of an image file, such as the camera model
- [GpImageItemData](/tB/Packages/Contributed/GdiPlus/Types/GpImageItemData.md) -- an item of extra data stored with an image
- [GpImageCodecInfo](/tB/Packages/Contributed/GdiPlus/Types/GpImageCodecInfo.md) -- the description of an image encoder or decoder
- [GpEncoderParameter](/tB/Packages/Contributed/GdiPlus/Types/GpEncoderParameter.md) -- one parameter of an image encoder

## Effect parameters
{: .no_toc }

The parameters of the effect classes, which each takes as its **Parameters** property.

- [BlurParams](/tB/Packages/Contributed/GdiPlus/Types/BlurParams.md)
- [BrightnessContrastParams](/tB/Packages/Contributed/GdiPlus/Types/BrightnessContrastParams.md)
- [ColorBalanceParams](/tB/Packages/Contributed/GdiPlus/Types/ColorBalanceParams.md)
- [ColorCurveParams](/tB/Packages/Contributed/GdiPlus/Types/ColorCurveParams.md)
- [ColorLUTParams](/tB/Packages/Contributed/GdiPlus/Types/ColorLUTParams.md)
- [HueSaturationLightnessParams](/tB/Packages/Contributed/GdiPlus/Types/HueSaturationLightnessParams.md)
- [LevelsParams](/tB/Packages/Contributed/GdiPlus/Types/LevelsParams.md)
- [RedEyeCorrectionParams](/tB/Packages/Contributed/GdiPlus/Types/RedEyeCorrectionParams.md)
- [SharpenParams](/tB/Packages/Contributed/GdiPlus/Types/SharpenParams.md)
- [TintParams](/tB/Packages/Contributed/GdiPlus/Types/TintParams.md)
