EmfPlusBlendFactors

EmfPlusBlendFactors class

The EmfPlusBlendFactors object specifies positions and factors for the blend pattern of a gradient brush.

public sealed class EmfPlusBlendFactors : EmfPlusBlendBase

Constructors

NameDescription
EmfPlusBlendFactors()The default constructor.

Properties

NameDescription
BlendFactors { get; set; }Gets or sets an array of PositionCount 32-bit floating point values that specify proportions of colors at the positions defined in the BlendPositions field. Each value MUST be a number between 0.0 and 1.0 inclusive.
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