TXYSqrtGradientSampler

Ancestors

TCustomLookUpTableGradientSampler
   |
TCustomCenterLutGradientSampler
   |
TCustomCenterRadiusLutGradientSampler
   |
TCustomCenterRadiusAngleLutGradientSampler

Description

XY Sqrt color gradient

A gradient function defined by the square root of the multiplication of X and Y coordinate values. It is related to the XY color gradient, but mapped by using the square root, resulting in more evenly spaced colors. Its size can be controlled using the radius property, which is actually some sort of an incircle radius. The center can be set using the center property. Finally the gradient can be rotated using the angle property.


Figure 1: Output of a TXYSqrtGradientSampler with several colors, a certain radius and angle (wrap: clamp, mirror and repeat)

Reference

Methods Properties
In TXYSqrtGradientSampler:
GetSample
In TCustomCenterRadiusAngleLutGradientSampler:
Create Angle
In TCustomCenterRadiusLutGradientSampler:
Radius
In TCustomCenterLutGradientSampler:
Center

See Also

Examples, TXYGradientSampler