TDiamondGradientSampler

Ancestors

TCustomLookUpTableGradientSampler
   |
TCustomCenterLutGradientSampler
   |
TCustomCenterRadiusLutGradientSampler
   |
TCustomCenterRadiusAngleLutGradientSampler

Description

Diamond shaped color gradient

A gradient in the shape of a diamond. Its size can be controlled using the radius property, which is actually the 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 TDiamondGradientSampler with several colors and a certain angle and radius (wrap mode: clamp, mirror, repeat)


Reference

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

See Also

Examples