Līkne
Pārskats
Curve ir klase Aspose.PDF FOSS priekš .NET.
Manto no: Shape.
Bézier līknes forma.
Šī klase nodrošina 3 metodes darbam ar Curve objektiem .NET programmās.
Pieejamās metodes ietver: CheckBounds, Curve.
Visi publiskie locekļi ir pieejami jebkurai .NET lietojumprogrammai pēc Aspose.PDF FOSS for .NET pakotnes instalēšanas.
Īpašības: Cx1, Cx2, Cy1, Cy2, GraphInfo, PositionArray, un vēl 5.
Īpašības
| Nosaukums | Tips | Piekļuve | Apraksts |
|---|---|---|---|
X1 | double | Read/Write | Iegūst vai iestata x1. |
Y1 | double | Read/Write | Iegūst vai iestata y1. |
Cx1 | double | Read/Write | Iegūst vai iestata cx1. |
Cy1 | double | Read/Write | Iegūst vai iestata cy1. |
Cx2 | double | Read/Write | Iegūst vai iestata cx2. |
Cy2 | double | Read/Write | Iegūst vai iestata cy2. |
X2 | double | Read/Write | Iegūst vai iestata x2. |
Y2 | double | Read/Write | Iegūst vai iestata y2. |
PositionArray | float[] | Read/Write | Līknes vadības punkti kā [x1, y1, cx1, cy1, cx2, cy2, x2, y2]. |
GraphInfo | Aspose.Pdf.GraphInfo | Read/Write | Iegūst vai iestata grafika informāciju. |
Text | Aspose.Pdf.Text.TextFragment? | Read/Write | Izvēles teksta etiķete, kas attēlota kopā ar formu. |
Metodes
| Signature | Description |
|---|---|
Curve(x1: double, y1: double, cx1: double, cy1: double, cx2: double, cy2: double, x2: double, y2: double) | Izveidot kubisku Bézier līkni no (x1,y1) uz (x2,y2) ar vadības punktiem (cx1,cy1) un (cx2,cy2). |
Curve(positionArray: float[]) | Konstruktors, kas atbilst publiskajam API: Curve(float[] positionArray), kur positionArray = [x1, y1, cx1, cy1, cx2, cy2, x2, y2]. |
CheckBounds(containerWidth: double, containerHeight: double) | Vai katrs vadības punkts atrodas konteinerā, kura sākuma piesaistītā AABB. |