Class XpsPathGeometry
Namespace: Aspose.Page.XPS.XpsModel
Assembly: Aspose.Page.dll (25.1.2)
فئة تحتوي على ميزات عنصر خاصية PathGeometry.
يحتوي هذا العنصر على مجموعة من أشكال المسار المحددة إما باستخدام خاصية Figures أو
مع عنصر PathFigure فرعي.
public sealed class XpsPathGeometry : XpsArray<xpspathfigure>
الوراثة
object ← XpsObject ← XpsArray<xpspathfigure> ← XpsPathGeometry
الأعضاء الموروثة
XpsArray<xpspathfigure>.Add(XpsPathFigure), XpsArray<xpspathfigure>.Remove(XpsPathFigure), XpsArray<xpspathfigure>.Insert(int, XpsPathFigure), XpsArray<xpspathfigure>.RemoveAt(int), XpsArray<xpspathfigure>.this[int], XpsArray<xpspathfigure>.Count, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
الخصائص
FillRule
يُرجع/يُعيّن القيمة التي تحدد كيفية دمج المناطق المتقاطعة من الأشكال الهندسية لتشكيل منطقة.
public XpsFillRule FillRule { get; set; }
قيمة الخاصية
PathFigures
يُرجع قائمة بأشكال المسار الفرعية.
public List<xpspathfigure> PathFigures { get; }
قيمة الخاصية
List<XpsPathFigure>
Transform
يُرجع/يُعيّن مصفوفة التحويل الأفينية التي تحدد التحويل المصفوفي المحلي الذي يتم تطبيقه على جميع العناصر الفرعية والوراثية من هندسة المسار قبل استخدامها للتعبئة أو القص أو التظليل.
public XpsMatrix Transform { get; set; }
قيمة الخاصية
الطرق
AddSegment(XpsPathSegment)
يضيف مقطع مسار إلى قائمة المقاطع الفرعية لآخر شكل مسار.
public XpsPathSegment AddSegment(XpsPathSegment segment)
المعلمات
segment
XpsPathSegment
مقطع المسار الذي سيتم إضافته.
يُرجع
مقطع المسار المضاف.
Clone()
يستنسخ هندسة المسار هذه.
public XpsPathGeometry Clone()
يُرجع
نسخة من هندسة المسار هذه.
InsertSegment(int, XpsPathSegment)
يُدرج مقطع مسار إلى قائمة المقاطع الفرعية لآخر شكل مسار في موضع index
.
public XpsPathSegment InsertSegment(int index, XpsPathSegment segment)
المعلمات
index
int
الموضع الذي ينبغي إدراج المقطع فيه.
segment
XpsPathSegment
مقطع المسار الذي سيتم إدراجه.
يُرجع
مقطع المسار المدخل.
RemoveSegment(XpsPathSegment)
يُزيل مقطع مسار من قائمة المقاطع الفرعية لآخر شكل مسار.
public XpsPathSegment RemoveSegment(XpsPathSegment segment)
المعلمات
segment
XpsPathSegment
مقطع المسار الذي سيتم إزالته.
يُرجع
مقطع المسار المزال.
RemoveSegmentAt(int)
يُزيل مقطع مسار من قائمة المقاطع الفرعية لآخر شكل مسار في موضع index
.
public XpsPathSegment RemoveSegmentAt(int index)
المعلمات
index
int
الموضع الذي ينبغي إزالة مقطع المسار منه.
يُرجع
مقطع المسار المزال.