Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateLinearGradientBrush method

PageAPI::CreateLinearGradientBrush(System::Drawing::PointF, System::Drawing::PointF) method

Создает новую линейную градиентную кисть.

System::SharedPtr<XpsModel::XpsLinearGradientBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateLinearGradientBrush(System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
ПараметрТипОписание
startPointSystem::Drawing::PointFНачальная точка линейного градиента.
endPointSystem::Drawing::PointFКонечная точка линейного градиента.

ReturnValue

Новая кисть линейного градиента.

См. также

PageAPI::CreateLinearGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>>, System::Drawing::PointF, System::Drawing::PointF) method

Создает новую линейную градиентную кисть.

System::SharedPtr<XpsModel::XpsLinearGradientBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateLinearGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>> gradientStops, System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
ПараметрТипОписание
gradientStopsSystem::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>>Список градиентных остановок.
startPointSystem::Drawing::PointFНачальная точка линейного градиента.
endPointSystem::Drawing::PointFКонечная точка линейного градиента.

ReturnValue

Новая кисть линейного градиента.

См. также