Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32.Blend.Modes🞂Graphics32BlendServiceFunction

Graphics32BlendService

Returns the global singleton instance of the Graphics32 blend service.

Declaration ​

pascal
function Graphics32BlendService: IGraphics32BlendService;

Returns ​

TypeDescription
IGraphics32BlendServiceThe global IGraphics32BlendService singleton interface.

Description ​

Graphics32BlendService returns the global IGraphics32BlendService singleton instance. It provides access to the global blend mode registry, enabling application code to register custom blender classes, query blenders by ID, enumerate registered blenders, or access category groups.

Example ​

pascal
var
  Service: IGraphics32BlendService;
  BlenderClass: TGraphics32BlenderClass;
begin
  Service := Graphics32BlendService;
  BlenderClass := Service.BlenderByID('Multiply');
  if (BlenderClass <> nil) then
    ShowMessage('Found Multiply blender: ' + BlenderClass.Name);
end;

See also ​