Declaration ​
pascal
TXYGradientSampler = class(TCustomCenterRadiusAngleLutGradientSampler)Description ​
TXYGradientSampler samples a bilinear product gradient defined by the multiplication of the X and Y coordinate values.
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.
| Clamp | Mirror | Repeat |
|---|---|---|
![]() | ![]() | ![]() |
Mathematics & Algorithm ​
Given local rotated offset coordinates


