# FsPaint The **FsPaint** structure represents a color, gradient or image pattern used to fill shapes.   ##### Syntax ``` wasm struct FsPaint { float xform[6]; float extent[2]; float radius; float feather; FsColor innerColor; FsColor outerColor; int image; }; ```   ##### Members
MemberDescription
xform

Defines the transformation of the pattern using an array of 6 floats: [ m11, m21, m12, m22, m13, m23 ].

This is a lightweight version of 3x3 transformation matrix. If you consider the following matrix:

m11 m12 m13 m21 m22 m23 m31 m32 m33

extentDefines the size of the pattern using an array of two floats: [width, height].
radiusDefines the radius of the rounded corners of a box gradient.
featherDefines the blurriness of the border of a box gradient.
innerColorDefines the inner color of a gradient.
outerColorDefines the outer color of a gradient.
imageDefines the handle to the image used for this pattern.
  ##### Remarks N/A