[]
Creates an GradientStopCollection from the specified gradient stops, a Gamma StandardRgb, and ExtendMode.Clamp.
public static GradientStopCollection Create(RenderTarget renderTarget, GradientStop[] gradientStops)
| Type | Name | Description |
|---|---|---|
| RenderTarget | renderTarget | an instance of RenderTarget |
| GradientStop[] | gradientStops | A pointer to an array of D2D1_GRADIENT_STOP structures. |
| Type | Description |
|---|---|
| GradientStopCollection |
Creates an GradientStopCollection from the specified gradient stops, color Gamma.StandardRgb, and extend mode.
public static GradientStopCollection Create(RenderTarget renderTarget, GradientStop[] gradientStops, ExtendMode extendMode)
| Type | Name | Description |
|---|---|---|
| RenderTarget | renderTarget | an instance of RenderTarget |
| GradientStop[] | gradientStops | A pointer to an array of D2D1_GRADIENT_STOP structures. |
| ExtendMode | extendMode | The behavior of the gradient outside the [0,1] normalized range. |
| Type | Description |
|---|---|
| GradientStopCollection |
Creates an GradientStopCollection from the specified gradient stops, color interpolation gamma, and ExtendMode.Clamp.
public static GradientStopCollection Create(RenderTarget renderTarget, GradientStop[] gradientStops, Gamma colorInterpolationGamma)
| Type | Name | Description |
|---|---|---|
| RenderTarget | renderTarget | an instance of RenderTarget |
| GradientStop[] | gradientStops | A pointer to an array of D2D1_GRADIENT_STOP structures. |
| Gamma | colorInterpolationGamma | The space in which color interpolation between the gradient stops is performed. |
| Type | Description |
|---|---|
| GradientStopCollection |
Creates an GradientStopCollection from the specified gradient stops, color interpolation gamma, and extend mode.
public static GradientStopCollection Create(RenderTarget renderTarget, GradientStop[] gradientStops, Gamma colorInterpolationGamma, ExtendMode extendMode)
| Type | Name | Description |
|---|---|---|
| RenderTarget | renderTarget | an instance of RenderTarget |
| GradientStop[] | gradientStops | A pointer to an array of D2D1_GRADIENT_STOP structures. |
| Gamma | colorInterpolationGamma | The space in which color interpolation between the gradient stops is performed. |
| ExtendMode | extendMode | The behavior of the gradient outside the [0,1] normalized range. |
| Type | Description |
|---|---|
| GradientStopCollection |