Devesprit.ImageProcessor & Devesprit.ImageServer
Fill Parameter

Description:

Defines a Fill object used to paint the interior of the given image.

Parameters:

BackgroundColor

Set the background color used by Solid and Pattern fill types.

BackgroundTextureUrl

Set the image path to fill the interior of a surface used by Texture fill type. It has to be a locally stored file which defaults to the location ~/images/imageprocessor/fill/.

This value is configurable (see Processing.Config).

ForegroundColor

Set the foreground color used by Pattern fill type.

GradientAngle

Set the orientation angle used by Gradient fill type, It is measured counterclockwise from the x-axis.

GradientBlendColors

Set the blend colors for gradient fills.

Array of color (e.g. fill.GradientBlendColors=000,fff,Red)

GradientBlendFactors

Set the blend factors for gradient fills. Factor values must be expressed in terms of percentages i.e. ranging from 0 to 100.

Array of color (e.g. fill.GradientBlendFactors=10,30)

GradientBlendPositions

Set the blend positions for gradient fills. Position values must be expressed in terms of percentages i.e. ranging from 0 to 100.

Array of integer (e.g. fill.GradientBlendPositions=10,20)

GradientCentered

Set whether path gradient must be centered.

true or false

GradientCenterPointX

Set the center point x-coordinate of the gradient fill.

GradientCenterPointY

Set the center point y-coordinate of the gradient fill.

GradientColor1

Set the starting color used by Gradient fill type.

GradientColor2

Set the ending color used by Gradient fill type.

GradientFocusScaleX

Set the focus point x-coordinate for the gradient falloff. Focus Point values must be expressed in terms of percentages i.e. ranging from 0 to 100.

GradientFocusScaleY

Set the focus point y-coordinate for the gradient falloff. Focus Point values must be expressed in terms of percentages i.e. ranging from 0 to 100.

GradientShade

Set the shading style used for creating gradient fills.

The value of this parameter can be: None, Triangle, BellShapedCurve

Default value: None

GradientShadeFocus

Set the position of the gradient's starting color. The position is a percentage of the distance between the boundary lines and must be in the range from 0 through 100.

GradientShadeScale

Set the percentage of the gradient's starting color that gets blended, at the focus position, with the gradient's ending color. The scale parameter must be in the range from 0 through 100. The default value is 100, which specifies that the ending color is at full intensity.

GradientShape

Set the shape used for creating gradient fills.

The value of this parameter can be: Line or Path

Default value: Line

Pattern

Set the pattern or hatch style used by Pattern fill type.

The value of this parameter can be: see this link on the MSDN

Default value: BackwardDiagonal

Type

Set the fill type.

The value of this parameter can be: Solid, Gradient, Texture, Pattern

Default value: Solid

WrapMode

Set a WrapMode enumeration that indicates the wrap mode for Texture fill type.

The value of this parameter can be: Tile, TileFlipX, TileFlipY, TileFlipXY, Clamp

More info on the MSDN

Default value: Tile

See Also