Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreatePathFigure طريقة

PageAPI::CreatePathFigure(System::Drawing::PointF, bool) method

ينشئ شكل مسار جديد.

System::SharedPtr<XpsModel::XpsPathFigure> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreatePathFigure(System::Drawing::PointF startPoint, bool isClosed=false)
ParameterTypeالوصف
startPointSystem::Drawing::PointFنقطة البداية للمقطع الأول من شكل المسار.
isClosedboolيحدد ما إذا كان المسار مغلقًا. إذا تم تعيينه إلى true، يتم رسم الخط “مغلقًا”، أي أن النقطة الأخيرة في المقطع الأخير من شكل المسار تتصل بالنقطة المحددة في الخاصية StartPoint، وإلا يتم رسم الخط “مفتوحًا”، ولا تتصل النقطة الأخيرة بنقطة البداية. ينطبق فقط إذا تم استخدام شكل المسار في عنصر Path يحدد خطًا.

ReturnValue

شكل مسار جديد.

انظر أيضًا

PageAPI::CreatePathFigure(System::Drawing::PointF, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>>, bool) method

ينشئ شكل مسار جديد.

System::SharedPtr<XpsModel::XpsPathFigure> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreatePathFigure(System::Drawing::PointF startPoint, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>> segments, bool isClosed=false)
ParameterTypeالوصف
startPointSystem::Drawing::PointFنقطة البداية للمقطع الأول من شكل المسار.
المقاطعSystem::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>>قائمة مقاطع المسار.
isClosedboolيحدد ما إذا كان المسار مغلقًا. إذا تم تعيينه إلى true، يتم رسم الخط “مغلقًا”، أي أن النقطة الأخيرة في المقطع الأخير من شكل المسار تتصل بالنقطة المحددة في الخاصية StartPoint، وإلا يتم رسم الخط “مفتوحًا”، ولا تتصل النقطة الأخيرة بنقطة البداية. ينطبق فقط إذا تم استخدام شكل المسار في عنصر Path يحدد خطًا.

ReturnValue

شكل مسار جديد.

انظر أيضًا