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)
ParameterTypeΠεριγραφή
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)
ParameterTypeΠεριγραφή
gradientStopsSystem::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>>Η λίστα των σημείων διακοπής διαβάθμισης.
startPointSystem::Drawing::PointFΤο αρχικό σημείο της γραμμικής διαβάθμισης.
endPointSystem::Drawing::PointFΤο τελικό σημείο της γραμμικής διαβάθμισης.

ReturnValue

Νέο πινέλο γραμμικής διαβάθμισης.

Δείτε επίσης