Class XpsPathGeometry
Namespace: Aspose.Page.XPS.XpsModel
Assembly: Aspose.Page.dll (25.1.2)
Klasa inkapsulująca cechy elementu właściwości PathGeometry.
Ten element zawiera zestaw figur ścieżek określonych albo za pomocą atrybutu Figures, albo
za pomocą elementu podrzędnego PathFigure.
public sealed class XpsPathGeometry : XpsArray<xpspathfigure>
Dziedziczenie
object ←
XpsObject ←
XpsArray<xpspathfigure> ←
XpsPathGeometry
Członkowie dziedziczeni
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()
Właściwości
FillRule
Zwraca/ustawia wartość określającą, jak obszary przecięcia kształtów geometrycznych są łączone, aby utworzyć region.
public XpsFillRule FillRule { get; set; }
Wartość właściwości
PathFigures
Zwraca listę figur ścieżek podrzędnych.
public List<xpspathfigure> PathFigures { get; }
Wartość właściwości
List<XpsPathFigure>
Transform
Zwraca/ustawia macierz transformacji afinicznej, która ustala lokalną transformację macierzy
zastosowaną do wszystkich elementów podrzędnych i potomnych geometrii ścieżki przed jej użyciem
do wypełnienia, przycinania lub rysowania.
public XpsMatrix Transform { get; set; }
Wartość właściwości
Metody
AddSegment(XpsPathSegment)
Dodaje segment ścieżki do listy segmentów podrzędnych ostatniej figury ścieżki.
public XpsPathSegment AddSegment(XpsPathSegment segment)
Parametry
segment
XpsPathSegment
Segment ścieżki do dodania.
Zwraca
Dodany segment ścieżki.
Clone()
Klona tę geometrię ścieżki.
public XpsPathGeometry Clone()
Zwraca
Klona tej geometrii ścieżki.
InsertSegment(int, XpsPathSegment)
Wstawia segment ścieżki do listy segmentów podrzędnych
ostatniej figury ścieżki na pozycji index
.
public XpsPathSegment InsertSegment(int index, XpsPathSegment segment)
Parametry
index
int
Pozycja, na której segment powinien zostać wstawiony.
segment
XpsPathSegment
Segment ścieżki do wstawienia.
Zwraca
Wstawiony segment ścieżki.
RemoveSegment(XpsPathSegment)
Usuwa segment ścieżki z listy segmentów podrzędnych ostatniej figury ścieżki.
public XpsPathSegment RemoveSegment(XpsPathSegment segment)
Parametry
segment
XpsPathSegment
Segment ścieżki do usunięcia.
Zwraca
Usunięty segment ścieżki.
RemoveSegmentAt(int)
Usuwa segment ścieżki z listy segmentów podrzędnych
ostatniej figury ścieżki na pozycji index
.
public XpsPathSegment RemoveSegmentAt(int index)
Parametry
index
int
Pozycja, z której segment ścieżki powinien zostać usunięty.
Zwraca
Usunięty segment ścieżki.