Compositor.CreateColorGradientStop Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
CreateColorGradientStop() |
Создает экземпляр CompositionColorGradientStop. |
CreateColorGradientStop(Single, Color) |
Создает экземпляр CompositionColorGradientStop с указанным смещением и цветом. |
CreateColorGradientStop()
Создает экземпляр CompositionColorGradientStop.
public:
virtual CompositionColorGradientStop ^ CreateColorGradientStop() = CreateColorGradientStop;
/// [Windows.Foundation.Metadata.Overload("CreateColorGradientStop")]
CompositionColorGradientStop CreateColorGradientStop();
[Windows.Foundation.Metadata.Overload("CreateColorGradientStop")]
public CompositionColorGradientStop CreateColorGradientStop();
function createColorGradientStop()
Public Function CreateColorGradientStop () As CompositionColorGradientStop
Возвращаемое значение
Созданный объект CompositionColorGradientStop.
- Атрибуты
Применяется к
CreateColorGradientStop(Single, Color)
Создает экземпляр CompositionColorGradientStop с указанным смещением и цветом.
public:
virtual CompositionColorGradientStop ^ CreateColorGradientStop(float offset, Color color) = CreateColorGradientStop;
/// [Windows.Foundation.Metadata.Overload("CreateColorGradientStopWithOffsetAndColor")]
CompositionColorGradientStop CreateColorGradientStop(float const& offset, Color const& color);
[Windows.Foundation.Metadata.Overload("CreateColorGradientStopWithOffsetAndColor")]
public CompositionColorGradientStop CreateColorGradientStop(float offset, Color color);
function createColorGradientStop(offset, color)
Public Function CreateColorGradientStop (offset As Single, color As Color) As CompositionColorGradientStop
Параметры
- offset
-
Single
float
Расположение остановки градиента в векторе градиента.
- color
- Color
Цвет ограничения градиента.
Возвращаемое значение
Созданный объект CompositionColorGradientStop.
- Атрибуты
Применяется к
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по