قوس

المعلومات العامة

Arc هي فئة في Aspose.PDF FOSS لـ Java. الميراث من: Shape.

يمثل شكل رسم قوس.

يوفر هذا الفصل 16 طريقة للعمل مع كائنات Arc في برامج Java. المنهجيات المتاحة تشمل: Arc, checkBounds, getEndAngle, getGraphInfo, getPosX, getPosY, getRadius, getStartAngle, getText, setEndAngle, setGraphInfo, setPosX,، و 4 طرق إضافية. جميع الأعضاء العامين يمكن الوصول إليهم من أي تطبيق Java بعد تثبيت حزمة Aspose.PDF FOSS for Java. خصائص: endAngle, graphInfo, posX, posY, radius, startAngle,وواحد آخر.

خصائص

اسمالنوعالوصولوصف
posXfloatاقرأيحصل على إحداثيات x من المركز.
posYfloatاقرأيحصل على إحداثيات الـ (ي) في المركز.
radiusfloatاقرأيحصل على نصف قطرها.
startAnglefloatاقرأيحصل على زاوية البداية بالدرجات.
endAnglefloatاقرأيحصل على زاوية النهاية بالدرجات.
graphInfoGraphInfoاقرأيحصل على خصائص التصميم الرسومية لهذا الشكل.
textStringاقرأيحصل على العلامة النصية الاختيارية المرتبطة بهذا الشكل.

الطرق

التوقيعوصف
Arc(posX: float, posY: float, radius: float, startAngle: float, endAngle: float)يخلق قوسًا جديدًًة مع المركز المحدد، والنطاق الزاوي.
getPosX()floatيحصل على إحداثيات x من المركز.
setPosX(posX: float)يضع إحداثيات الـ (إكس) في المركز.
getPosY()floatيحصل على إحداثيات الـ (ي) في المركز.
setPosY(posY: float)يضع إحداثيات الـ (ي) في المركز.
getRadius()floatيحصل على نصف قطرها.
setRadius(radius: float)يحدد القطر.
getStartAngle()floatيحصل على زاوية البداية بالدرجات.
setStartAngle(startAngle: float)يضع زاوية البداية بالدرجات.
getEndAngle()floatيحصل على زاوية النهاية بالدرجات.
setEndAngle(endAngle: float)يضع زاوية النهاية بالدرجات.
checkBounds(width: double, height: double){@inheritDoc}

Computes the actual bounding box of the arc by evaluating the endpoints and any axis-aligned extrema that fall within the angular range. | | `getGraphInfo()` → `GraphInfo` | Gets the graphic styling properties for this shape. | | `setGraphInfo(graphInfo: GraphInfo)` | Sets the graphic styling properties for this shape. | | `getText()` → `String` | Gets the optional text label associated with this shape. | | `setText(text: String)` | Sets the optional text label associated with this shape. |

انظر أيضاً

 العربية