Class XpsPathGeometry
Nazwa przestrzeń: Aspose.Page.XPS.XpsModel Zgromadzenie: Aspose.Page.dll (25.4.0)
Klasy inkapsulujące PathGeometry właściwości elementy cechy.Ten element zawiera zestaw liczb ścieżek określonych albo z atrybutem liczb lubz elementem PathFigure dziecka.
public sealed class XpsPathGeometry : XpsArray<xpspathfigure>
Inheritance
object
←
XpsObject
←
XpsArray
Dziedziczeni członkowie
XpsArray
Properties
FillRule
Powraca / ustawia wartość określającą, w jaki sposób obszary przekraczające geometryczneFormy są połączone do tworzenia regionu.
public XpsFillRule FillRule { get; set; }
Wartość nieruchomości
PathFigures
Wróć do listy podróży dziecięcej.
public List<xpspathfigure> PathFigures { get; }
Wartość nieruchomości
List • < XpsPathFigure >
Transform
Powraca/zestaw matrycę transformacyjną, która ustala lokalną matrycę transformacyjnąktóry jest stosowany do wszystkich elementów dziecięcych i potomkowych geometrii ścieżki przed jego użyciemdo wypełniania, klipy lub wstrząsów.
public XpsMatrix Transform { get; set; }
Wartość nieruchomości
Methods
AddSegment(XpsPathSegment)
Dodaj segment ścieżki do listy segmentów dziecięcych z ostatniej figury.
public XpsPathSegment AddSegment(XpsPathSegment segment)
Parameters
segment
XpsPathSegment
Dodajemy do segmentu ścieżki.
Returns
Dodany segment drogi.
Clone()
Klonuje tę ścieżkę geometrii.
public XpsPathGeometry Clone()
Returns
Klona tej geometrii ścieżki.
InsertSegment(Int, XpsPathSegment)
Wprowadź segment ścieżki do listy segmentów dzieci z ostatniej figury ścieżki w pozycji index'.
public XpsPathSegment InsertSegment(int index, XpsPathSegment segment)
Parameters
index
int
Pozycja, w której należy umieścić segment.
segment
XpsPathSegment
Należy wprowadzić segment ścieżki.
Returns
Wbudowany segment ścieżki.
RemoveSegment(XpsPathSegment)
Usuwa segment ścieżki z listy segmentów dziecięcych z ostatniej figury ścieżki.
public XpsPathSegment RemoveSegment(XpsPathSegment segment)
Parameters
segment
XpsPathSegment
Wystarczy usunąć segment drogi.
Returns
Usunięcie segmentu drogi.
RemoveSegmentAt(Int)
Usuwa segment ścieżki z listy segmentów dzieci z ostatniej figury ścieżki w pozycji index'.
public XpsPathSegment RemoveSegmentAt(int index)
Parameters
index
int
Pozycja, w której należy usunąć segment drogi.
Returns
Usunięcie segmentu drogi.