TTMSFNCGraphicsFill Class
Published fill settings class used by TMS FNC controls. Exposes color, gradient, texture, opacity, and change notification as published properties.
API unit family: TMSFNCGraphicsTypes
Inherits from: TTMSFNCCustomGraphicsFill
Syntax
TTMSFNCGraphicsFill = class(TTMSFNCCustomGraphicsFill)
Properties
Name
Description
Color
Primary fill color. Used as the solid color, or as the gradient start color. (inherited from TTMSFNCCustomGraphicsFill)
ColorMirror
Mirror gradient start color, used in double-gradient effects. (inherited from TTMSFNCCustomGraphicsFill)
ColorMirrorTo
Mirror gradient end color, used in double-gradient effects. (inherited from TTMSFNCCustomGraphicsFill)
ColorTo
Gradient end color, blended toward from Color. (inherited from TTMSFNCCustomGraphicsFill)
GradientAngle
Rotation angle of the gradient in degrees. Used when GradientOrientation is gfoCustom. (inherited from TTMSFNCCustomGraphicsFill)
GradientCenterColor
Color at the center of a radial gradient. Default is gcNull (no center color override). (inherited from TTMSFNCCustomGraphicsFill)
GradientCenterPoint
Center point of a radial gradient, as a fraction of the bounding rectangle (0.0–1.0). (inherited from TTMSFNCCustomGraphicsFill)
GradientItems
Collection of color stops used when GradientMode is gfgmCollection. (inherited from TTMSFNCCustomGraphicsFill)
GradientMatrix
Transformation matrix applied to the gradient before rendering. (inherited from TTMSFNCCustomGraphicsFill)
GradientMode
Selects single-color gradient mode or multi-stop collection mode. Default is gfgmDefault. (inherited from TTMSFNCCustomGraphicsFill)
GradientOrientation
Direction of the gradient axis when GradientMode is gfgmDefault. Default is gfoVertical. (inherited from TTMSFNCCustomGraphicsFill)
GradientType
Shape of the gradient transition: linear or radial. Default is gfgtLinear. (inherited from TTMSFNCCustomGraphicsFill)
Kind
Fill style: none, solid, gradient, or texture. Affects which other fill properties are used during rendering. (inherited from TTMSFNCCustomGraphicsFill)
Opacity
Overall opacity of the fill (0.0 = fully transparent, 1.0 = fully opaque). (inherited from TTMSFNCCustomGraphicsFill)
Orientation
Direction of the gradient axis for two-color gradients. Default is gfoVertical. (inherited from TTMSFNCCustomGraphicsFill)
Texture
Bitmap used as the fill texture when Kind is gfkTexture. (inherited from TTMSFNCCustomGraphicsFill)
TextureMode
Specifies how the texture bitmap is scaled or tiled within the fill area. Default is gtmStretch. (inherited from TTMSFNCCustomGraphicsFill)
Methods
Name
Description
AddGradientItem
Appends a gradient stop with the given AColor, normalized APosition (0.0–1.0), and AOpacity. (inherited from TTMSFNCCustomGraphicsFill)
BeginUpdate
Begins a batch update; suppresses change notifications until EndUpdate is called. (inherited from TTMSFNCCustomGraphicsFill)
ClearGradientItems
Removes all stops from the gradient items collection. (inherited from TTMSFNCCustomGraphicsFill)
EndUpdate
Ends a batch update and fires any pending change notifications. (inherited from TTMSFNCCustomGraphicsFill)
Events
Name
Description
OnChanged
Fired whenever any fill property changes. (inherited from TTMSFNCCustomGraphicsFill)
Used by