Interface IBGRACanvasGradient2D

Unit

Declaration

type IBGRACanvasGradient2D = interface(IBGRACanvasTextureProvider2D)

Description

Interface for a gradient for TCanvas2D

Hierarchy

Overview

Methods

Public function GetGammaCorrection: boolean;
Public function GetRepetition: TBGRAGradientRepetition;
Public procedure addColorStop(APosition: single; AColor: string);
Public procedure addColorStop(APosition: single; AColor: TBGRAPixel);
Public procedure addColorStop(APosition: single; AColor: TColor);
Public procedure setColors(ACustomGradient: TBGRACustomGradient);
Public procedure SetGammaCorrection(AValue: boolean);
Public procedure SetRepetition(AValue: TBGRAGradientRepetition);

Properties

Public property gammaCorrection: boolean read GetGammaCorrection write SetGammaCorrection;
Public property repetition: TBGRAGradientRepetition read GetRepetition write SetRepetition;

Description

Methods

Public function GetGammaCorrection: boolean;

This item has no description.

Public function GetRepetition: TBGRAGradientRepetition;

This item has no description.

Public procedure addColorStop(APosition: single; AColor: string);

This item has no description.

Public procedure addColorStop(APosition: single; AColor: TBGRAPixel);

This item has no description.

Public procedure addColorStop(APosition: single; AColor: TColor);

This item has no description.

Public procedure setColors(ACustomGradient: TBGRACustomGradient);

This item has no description.

Public procedure SetGammaCorrection(AValue: boolean);

This item has no description.

Public procedure SetRepetition(AValue: TBGRAGradientRepetition);

This item has no description.

Properties

Public property gammaCorrection: boolean read GetGammaCorrection write SetGammaCorrection;

This item has no description.

Public property repetition: TBGRAGradientRepetition read GetRepetition write SetRepetition;

This item has no description.