TBilinearGradientSampler

Hierarchy

TPersistent

   |

TNotifiablePersistent

   |

TCustomSampler

   |

TCustomSparsePointGradientSampler

Description

A sparse point gradient interpolator using a inverse bilinear interpolation
Based on four (and only four) vertices, with each vertex specified with a certain color, an inverse bilinear interpolation of color is calculated. Outside this continue the colours continue as before, but discontinuities may occur.


Figure 1: Output of a TBilinearGradientSampler with the underlying quadrilateral vertices marked with circles


Reference

Methods Properties Events
In TBilinearGradientSampler:
GetSample
PrepareSampling
SetColorPoints
SetPoints
In TCustomSparsePointGradientSampler:
Color
ColorPoint
Count
Point
In TCustomSampler:
FinalizeSampling
GetSampleBounds
HasBounds
In TNotifiablePersistent:
BeginUpdate UpdateCount OnChange
Changed
Create
Destroy
EndUpdate

See Also

Examples