Class EmfPlusBlendColors

EmfPlusBlendColors class

The EmfPlusBlendColors object specifies positions and colors for the blend pattern of a gradient brush.

public sealed class EmfPlusBlendColors : EmfPlusBlendBase

Constructors

NameDescription
EmfPlusBlendColors()The default constructor.

Properties

NameDescription
BlendArgb32Colors { get; set; }Gets or sets an array of PositionCount EmfPlusARGB objects (section 2.2.2.1) that specify colors at the positions defined in the BlendPositions field.
BlendPositions { get; set; }Gets or sets blend positions An array of PositionCount 32-bit floating-point values that specify proportions of distance along the gradient line. Each element MUST be a number between 0.0 and 1.0 inclusive. For a linear gradient brush, 0.0 represents the starting point and 1.0 represents the ending point. For a path gradient brush, 0.0 represents the midpoint and 1.0 represents an endpoint

See Also