TIcnsIcon class
Implements a macOS Icon Resource file.
Declaration
TIcnsIcon = class(TCustomIcon)Inheritance
Description
TIcnsIcon is a
TCustomIcon descendant which implements
a class used for macOS Icon resources. TIcnsIcon is similar to the .ICO
format used on Windows platforms. An Icns Icon can store one or more images,
which generally use the PNG image format. Standard icon sizes used in Icns
Icon files include: 16x16, 32x32, 48x48, 128x128, 256x256, 512x512, and
1024x1024 pixels.
See also
Methods
GetSharedImageClass | protected | Gets the class reference used to create the shared image for the icon. |
ReadData | protected | Reads icon data from the specified stream, and performs byte order conversion when needed. |
ReadStream | protected | Reads each of the icon resources from the specified stream, and adds them to the list of icon images. |
WriteStream | protected | Writes each of the icon resources in the list to the specified stream. |
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
GetFileExtensions | public | Gets the file extension(s) used for the icon type. |
LazarusResourceTypeValid | public | Checks whether the specified Resource Type name is valid for the icon type. |
Inherited
From TCustomIcon (47)
Add Assign AssignImage BitmapHandleAllocated CanShareImage CheckRequestedSize Clear Count Current Delete ExportImage GetBestIndexForSize GetBitmapHandle GetDefaultSize GetDescription GetIndex GetMaskHandle GetPalette GetPixelFormat GetRawImageDescriptionPtr GetRawImagePtr GetStreamSignature GetTransparent GetTypeID HandleNeeded InternalReleaseBitmapHandle InternalReleaseMaskHandle InternalReleasePalette IsStreamFormatSupported LoadFromResourceHandle LoadFromResourceID LoadFromResourceName MaskHandleAllocated MaskHandleNeeded PaletteAllocated PaletteNeeded Remove SetHandle SetHandles SetPixelFormat SetSize SetTransparent Sort UnshareImage UpdateCurrentView UpdateHandle UpdateHandles
From TRasterImage (48)
ApplyTransparent BeginUpdate BitmapHandle BitmapHandleNeeded Canvas Changed CreateDefaultBitmapHandle CreateIntfImage 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 (23)
DefineProperties Empty Equals GetResourceType Height LoadFromClipboardFormat LoadFromClipboardFormatID LoadFromFile LoadFromLazarusResource MimeType Modified OnChange OnProgress Palette PaletteModified Progress SaveToClipboardFormat SaveToClipboardFormatID SaveToFile SetModified SetPalette Transparent Width
From TPersistent (6)
AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner
From TObject (39)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
