GraphInfo
Vue de l’ensemble
‘GraphInfo’ est une classe dans Aspose.PDF FOSS pour Java.
Il représente des propriétés de styling graphique pour les formes de dessin.
Cette classe fournit 23 méthodes pour travailler avec des objets GraphInfo dans les programmes Java. Les méthodologies disponibles comprennent: ‘GraphInFO’, ‘getColor’, getDashArray', ‘getFillColore’, ' getLineWidth', ’getRotationAngle', ‚getScalingRateX, ‘getsSkaling RateY, 'geSkewAngelX' , ‘ge SkevAngeleY', ''isDoubled' et 11 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:color,, dash Array Phased’double, coloredde plus 5’Withline.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
color | Color | Read | Gets the stroke (outline) color. |
fillColor | Color | Read | Gets the fill color for closed shapes. |
lineWidth | float | Read | Gets the line width in user-space units. |
dashArray | float[] | Read | Gets the dash pattern array. |
dashPhase | float | Read | Gets the dash phase offset. |
rotationAngle | float | Read | Gets the rotation angle in degrees. |
doubled | boolean | Read | Returns whether the line is rendered doubled. |
scalingRateX | float | Read | Gets the horizontal scaling rate. |
scalingRateY | float | Read | Gets the vertical scaling rate. |
skewAngleX | float | Read | Gets the horizontal skew angle in degrees. |
skewAngleY | float | Read | Gets the vertical skew angle in degrees. |
méthodes
| Signature | Description |
|---|---|
GraphInfo() | Creates a new {@code GraphInfo} with default styling (line width 1.0, no dash, no fill). |
getColor() → Color | Gets the stroke (outline) color. |
setColor(color: Color) | Sets the stroke (outline) color. |
getFillColor() → Color | Gets the fill color for closed shapes. |
setFillColor(fillColor: Color) | Sets the fill color for closed shapes. |
getLineWidth() → float | Gets the line width in user-space units. |
setLineWidth(lineWidth: float) | Sets the line width in user-space units. |
getDashArray() → float[] | Gets the dash pattern array. |
setDashArray(dashArray: float[]) | Sets the dash pattern array. |
getDashPhase() → float | Gets the dash phase offset. |
setDashPhase(dashPhase: float) | Sets the dash phase offset. |
getRotationAngle() → float | Gets the rotation angle in degrees. |
setRotationAngle(rotationAngle: float) | Sets the rotation angle in degrees. |
isDoubled() → boolean | Returns whether the line is rendered doubled. |
setDoubled(doubled: boolean) | Sets whether the line should be rendered doubled. |
getScalingRateX() → float | Gets the horizontal scaling rate. |
setScalingRateX(scalingRateX: float) | Sets the horizontal scaling rate. |
getScalingRateY() → float | Gets the vertical scaling rate. |
setScalingRateY(scalingRateY: float) | Sets the vertical scaling rate. |
getSkewAngleX() → float | Gets the horizontal skew angle in degrees. |
setSkewAngleX(skewAngleX: float) | Sets the horizontal skew angle in degrees. |
getSkewAngleY() → float | Gets the vertical skew angle in degrees. |
setSkewAngleY(skewAngleY: float) | Sets the vertical skew angle in degrees. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise