TTMSFNCBloxFill Class
Describes how an area is filled, supporting solid color, two-color gradient, and image texture fills.
API unit family: TMSFNCBloxCoreTypes
Inherits from: TPersistent
Syntax
TTMSFNCBloxFill = class(TPersistent)
Properties
| Name | Description |
|---|---|
| Color | Gets or sets the primary fill color, used for solid fills and as the start color of a gradient. |
| FillType | Gets or sets how the area is filled: none, solid, texture, or gradient. |
| GradientMode | Gets or sets the direction of a gradient fill. |
| SecondColor | Gets or sets the second color, used as the end color of a gradient fill. |
| Texture | Gets or sets the image used when the fill type is texture. |
| TextureMode | Gets or sets how the texture image is positioned and scaled when the fill type is texture. |
Methods
| Name | Description |
|---|---|
| AssignGradient | Copies the color, second color, gradient mode, and texture mode from another fill, leaving the fill type and texture image unchanged. |