SharpDX.Direct2D1.GradientStopCollection
<< Click to Display Table of Contents >> SharpDX.Direct2D1.GradientStopCollection |
Disclaimer: The SharpDX SDK Reference section was compiled from the official SharpDX Documentation and was NOT authored by NinjaTrader. The contents of this section are provided as-is and only cover a fraction of what is available from the SharpDX SDK. This page was intended only as a reference guide to help you get started with some of the 2D Graphics concepts used in the NinjaTrader.Custom assembly. Please refer to the official SharpDX Documentation for additional members not covered in this reference. For more seasoned graphic developers, the original MSDN Direct2D1 and DirectWrite unmanaged API documentation can also be helpful for understanding the DirectX/Direct2D run-time environment. For NinjaScript development purposes, we document only essential members in the structure of this page. |
Describes an elliptical arc between two points.
(See also unmanaged API documentation)
Note: A gradient stop collection is a device-dependent resource: your application should create gradient stop collections after it initializes the render target with which the gradient stop collection will be used, and recreate the gradient stop collection whenever the render target needs recreated. Please see the MSDN Direct2D Resources Overview for more information. |
class GradientStopCollection
new GradientStopCollection(RenderTarget renderTarget, GradientStop[] gradientStops) |
Creates an GradientStopCollection from the specified gradient stops, a Gamma.StandardRgb, and ExtendMode.Clamp |
new GradientStopCollection(RenderTarget renderTarget, GradientStop[] gradientStops, ExtendMode extendMode) |
Creates an GradientStopCollection from the specified gradient stops, color Gamma.StandardRgb, and extend mode |
new GradientStopCollection(RenderTarget renderTarget, GradientStop[] gradientStops, Gamma colorInterpolationGamma) |
Creates an GradientStopCollection from the specified gradient stops, color interpolation gamma, and ExtendMode.Clamp |
new GradientStopCollection(RenderTarget renderTarget, GradientStop[] gradientStops, Gamma colorInterpolationGamma, ExtendMode extendMode) |
Creates an GradientStopCollection from the specified gradient stops, color interpolation gamma, and extend mode |
Indicates the gamma space in which the gradient stops are interpolated |
|
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from SharpDX.DisposeBase.) |
|
Indicates the behavior of the gradient outside the normalized gradient range |
|
Retrieves the number of gradient stops in the collection |
|
Gets a value indicating whether this instance is disposed. (Inherited from SharpDX.DisposeBase.) |