Sign in Join
FPDoc Onlineexperiment

TCursorImage class

In unit Graphics

TCursorImage - an Icon to be used to represent a cursor.

Declaration

pascal
TCursorImage = class(TCustomIcon)

Inheritance

  1. TCursorImage
  2. TCustomIcon
  3. TRasterImage
  4. TGraphic
  5. TPersistent

Description

Nothing more than the line above yet.

See also

Properties

HotSpotpublicHotSpot - the coordinates of the point to which the cursor refers, and which represents the 'active' position on the current form or canvas.
HandlepublicHandle for the cursor image.

Methods

HandleNeededprotectedEnsures that a handle for the image has been allocated.
GetDefaultSizeprotectedGetDefaultSize - returns default size for Icon.
GetStreamSignatureprotectedGets the stream signature used for icon data.
GetSharedImageClassprotectedGets the class reference used to create new shared image instances in the class.
GetTypeIDprotectedGets the icon type identifier used in the image list header.
GetFileExtensionspublicGets a delimited list of file extensions supported for the image type.
GetResourceTypepublicGets the resource type identifier for the cursor image.
LoadFromResourceHandlepublicLoads cursor images from the specified instance and resource handles.
LazarusResourceTypeValidpublicDetermines if the specified resource type is valid for the image format.
ReleaseHandlepublicFrees the handle in the shared raster image used for the cursor.
SetCenterHotSpotpublicUpdates the HotSpot coordinate to the center point for the Current image in the cursor.

Inherited

From TCustomIcon (46)

Add Assign AssignImage BitmapHandleAllocated CanShareImage CheckRequestedSize Clear Count Create Current Delete ExportImage GetBestIndexForSize GetBitmapHandle GetDescription GetIndex GetMaskHandle GetPalette GetPixelFormat GetRawImageDescriptionPtr GetRawImagePtr GetTransparent InternalReleaseBitmapHandle InternalReleaseMaskHandle InternalReleasePalette IsStreamFormatSupported LoadFromResourceID LoadFromResourceName MaskHandleAllocated MaskHandleNeeded PaletteAllocated PaletteNeeded ReadData ReadStream Remove SetHandle SetHandles SetPixelFormat SetSize SetTransparent Sort UnshareImage UpdateCurrentView UpdateHandle UpdateHandles WriteStream

From TRasterImage (49)

ApplyTransparent BeginUpdate BitmapHandle BitmapHandleNeeded Canvas Changed CreateDefaultBitmapHandle CreateIntfImage Destroy Draw EndUpdate FreeImage FreeSaveStream GetEmpty GetHandle GetHeight GetMasked GetMimeType GetSize GetSupportedSourceMimeTypes GetWidth HandleAllocated LoadFromBitmapHandles LoadFromDevice LoadFromIntfImage LoadFromMimeStream LoadFromRawImage LoadFromStream Mask Masked MaskHandle PixelFormat RawImage ReleaseBitmapHandle ReleaseMaskHandle ReleasePalette RequestTransparentColor SaveStreamNeeded SaveToStream ScanLine SetBitmapHandle SetHeight SetMasked SetMaskHandle SetTransparentMode SetWidth TransparentColor TransparentMode WriteData

From TGraphic (22)

DefineProperties Empty Equals Height LoadFromClipboardFormat LoadFromClipboardFormatID LoadFromFile LoadFromLazarusResource MimeType Modified OnChange OnProgress Palette PaletteModified Progress SaveToClipboardFormat SaveToClipboardFormatID SaveToFile SetModified SetPalette Transparent Width

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.