Class TPolygonLinearColorGradientInfo

Unit

Declaration

type TPolygonLinearColorGradientInfo = class(TOnePassFillPolyInfo)

Description

Fill information for a polygon with linear gradient

Hierarchy

Overview

Fields

Protected FColors: array of TColorF;

Methods

Public constructor Create(const points: array of TPointF; const Colors: array of TBGRAPixel);
Public function CreateIntersectionInfo: TIntersectionInfo; override;
Public function CreateSegmentData(numPt, nextPt: integer; ASeg: PCustomPointRecord): pointer; override;
Protected procedure SetIntersectionValues(AInter: TIntersectionInfo; AInterX: Single; AWinding, ANumSegment: integer; dy: single; AData: pointer); override;

Description

Fields

Protected FColors: array of TColorF;

This item has no description.

Methods

Public constructor Create(const points: array of TPointF; const Colors: array of TBGRAPixel);

This item has no description.

Public function CreateIntersectionInfo: TIntersectionInfo; override;

This item has no description. Showing description inherited from TBGRACustomFillInfo.CreateIntersectionInfo.

Create a structure to define one single intersection

Public function CreateSegmentData(numPt, nextPt: integer; ASeg: PCustomPointRecord): pointer; override;

This item has no description.

Protected procedure SetIntersectionValues(AInter: TIntersectionInfo; AInterX: Single; AWinding, ANumSegment: integer; dy: single; AData: pointer); override;

This item has no description.