DistType

Flag that indicates the source of the colors to be added to the bitmap. Possible values are:

Value

Meaning

DT_LINEAR

[0] Use the linear gradient from dark to light, generated by the toolkit. If this flag is set, LEADTOOLS will ignore the pGradient parameter and update the pColor parameter with an array of colors generated by the toolkit.

DT_USER

[1] Use the user-defined gradient in the pGradient parameter.