DioDocs for PDF
Create メソッド (GradientStopCollection1)

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX.Direct2D 名前空間 > GradientStopCollection1 クラス : Create メソッド
The context.
An array of color values and offsets.
Specifies both the input color space and the space in which the color interpolation occurs.
The color space that colors will be converted to after interpolation occurs.
The precision of the texture used to hold interpolated values.
Defines how colors outside of the range defined by the stop collection are determined.
The new gradient stop collection.
Initializes a new instance of the GradientStopCollection1 class.
シンタックス

パラメータ

context
The context.
straightAlphaGradientStops
An array of color values and offsets.
preInterpolationSpace
Specifies both the input color space and the space in which the color interpolation occurs.
postInterpolationSpace
The color space that colors will be converted to after interpolation occurs.
bufferPrecision
The precision of the texture used to hold interpolated values.
extendMode
Defines how colors outside of the range defined by the stop collection are determined.
colorInterpolationMode
The new gradient stop collection.
解説
This method linearly interpolates between the color stops. An optional color space conversion is applied after interpolation. Whether and how this gamma conversion is applied is determined before and after interpolation. This method will fail if the device context does not support the requested buffer precision.Additional ReferencesD2D1_GRADIENT_STOP, D2D1_GAMMA_CONVERSION, BufferPrecision, ExtendMode, GradientStopCollectionRequirementsMinimum supported operating systemSame as Interface / Class Highest IRQL levelN/A (user mode) Callable from DlllMain()No Callable from services and session 0Yes Callable from UI threadYes?
参照

GradientStopCollection1 クラス
GradientStopCollection1 メンバ