FsPaint
The FsPaint structure represents a color, gradient or image pattern used to fill shapes.
Syntax
struct FsPaint {
float xform[6];
float extent[2];
float radius;
float feather;
FsColor innerColor;
FsColor outerColor;
int image;
};
Members
Member | Description |
---|---|
xform |
Defines the transformation of the pattern using an array of 6 floats: This is a lightweight version of 3x3 transformation matrix. If you consider the following matrix:
|
extent |
Defines the size of the pattern using an array of two floats: [width, height] . |
radius |
Defines the radius of the rounded corners of a box gradient. |
feather |
Defines the blurriness of the border of a box gradient. |
innerColor |
Defines the inner color of a gradient. |
outerColor |
Defines the outer color of a gradient. |
image |
Defines the handle to the image used for this pattern. |
Remarks
N/A
See Also