Constructor GradientFill
GradientFill(GradientFillKind, IReadOnlyList<GradientStop>, Twips, Twips, Twips, Twips)
Initializes a gradient fill.
public GradientFill(GradientFillKind kind, IReadOnlyList<GradientStop> stops, Twips startX, Twips startY, Twips endX, Twips endY)
Parameters
kindGradientFillKindHow the stops are swept.
stopsIReadOnlyList<GradientStop>The stops, ordered by position ascending.
startXTwipsLinear: sweep start x. Radial: center x.
startYTwipsLinear: sweep start y. Radial: center y.
endXTwipsLinear: sweep end x. Radial: center x plus the horizontal radius.
endYTwipsLinear: sweep end y. Radial: center y plus the vertical radius.