Arc

Vue de l’ensemble

‘Arc’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: Shape.

Il représente une forme de dessin arc.

Cette classe fournit 16 méthodes pour travailler avec des objets Arc dans les programmes Java. Les méthodologies disponibles comprennent: ‘Arc’, ‘checkBounds’, getEndAngle', ‘getGraphInfo’, 'getPosX', ’getRadius', ‚getStartAngel, ’ getText , 'setEnd Angle et 4 méthode supplémentaires. Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : ’endAnge ; 'graphInFO; ‘posX,posY : radio, ‘startAngele 1 et plus.

Propriétés

NameTypeAccessDescription
posXfloatReadGets the x-coordinate of the center.
posYfloatReadGets the y-coordinate of the center.
radiusfloatReadGets the radius.
startAnglefloatReadGets the start angle in degrees.
endAnglefloatReadGets the end angle in degrees.
graphInfoGraphInfoReadGets the graphic styling properties for this shape.
textStringReadGets the optional text label associated with this shape.

méthodes

SignatureDescription
Arc(posX: float, posY: float, radius: float, startAngle: float, endAngle: float)Creates a new arc with the specified center, radius, and angular range.
getPosX()floatGets the x-coordinate of the center.
setPosX(posX: float)Sets the x-coordinate of the center.
getPosY()floatGets the y-coordinate of the center.
setPosY(posY: float)Sets the y-coordinate of the center.
getRadius()floatGets the radius.
setRadius(radius: float)Sets the radius.
getStartAngle()floatGets the start angle in degrees.
setStartAngle(startAngle: float)Sets the start angle in degrees.
getEndAngle()floatGets the end angle in degrees.
setEndAngle(endAngle: float)Sets the end angle in degrees.
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. |

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français