Aspose::Page::XPS::XpsDocument::CreatePathFigure طريقة
محتويات
[
يخفي
]XpsDocument::CreatePathFigure(System::Drawing::PointF, bool) method
ينشئ شكل مسار جديد.
System::SharedPtr<XpsModel::XpsPathFigure> Aspose::Page::XPS::XpsDocument::CreatePathFigure(System::Drawing::PointF startPoint, bool isClosed=false)
| Parameter | Type | الوصف |
|---|---|---|
| startPoint | System::Drawing::PointF | نقطة البداية للمقطع الأول من شكل المسار. |
| isClosed | bool | يحدد ما إذا كان المسار مغلقًا. إذا تم تعيينه إلى true، يتم رسم الخط “مغلقًا”، أي أن النقطة الأخيرة في المقطع الأخير من شكل المسار تتصل بالنقطة المحددة في الخاصية StartPoint، وإلا يتم رسم الخط “مفتوحًا”، ولا تتصل النقطة الأخيرة بنقطة البداية. ينطبق فقط إذا تم استخدام شكل المسار في عنصر Path يحدد خطًا. |
ReturnValue
شكل مسار جديد.
انظر أيضًا
- Typedef SharedPtr
- Class XpsPathFigure
- Class PointF
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::CreatePathFigure(System::Drawing::PointF, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>>, bool) method
ينشئ شكل مسار جديد.
System::SharedPtr<XpsModel::XpsPathFigure> Aspose::Page::XPS::XpsDocument::CreatePathFigure(System::Drawing::PointF startPoint, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>> segments, bool isClosed=false)
| Parameter | Type | الوصف |
|---|---|---|
| startPoint | System::Drawing::PointF | نقطة البداية للمقطع الأول من شكل المسار. |
| المقاطع | System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>> | قائمة مقاطع المسار. |
| isClosed | bool | يحدد ما إذا كان المسار مغلقًا. إذا تم تعيينه إلى true، يتم رسم الخط “مغلقًا”، أي أن النقطة الأخيرة في المقطع الأخير من شكل المسار تتصل بالنقطة المحددة في الخاصية StartPoint، وإلا يتم رسم الخط “مفتوحًا”، ولا تتصل النقطة الأخيرة بنقطة البداية. ينطبق فقط إذا تم استخدام شكل المسار في عنصر Path يحدد خطًا. |
ReturnValue
شكل مسار جديد.
انظر أيضًا
- Typedef SharedPtr
- Class XpsPathFigure
- Class PointF
- Class List
- Class XpsPathSegment
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++