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

NameTypeAccessDescription
colorColorReadGets the stroke (outline) color.
fillColorColorReadGets the fill color for closed shapes.
lineWidthfloatReadGets the line width in user-space units.
dashArrayfloat[]ReadGets the dash pattern array.
dashPhasefloatReadGets the dash phase offset.
rotationAnglefloatReadGets the rotation angle in degrees.
doubledbooleanReadReturns whether the line is rendered doubled.
scalingRateXfloatReadGets the horizontal scaling rate.
scalingRateYfloatReadGets the vertical scaling rate.
skewAngleXfloatReadGets the horizontal skew angle in degrees.
skewAngleYfloatReadGets the vertical skew angle in degrees.

méthodes

SignatureDescription
GraphInfo()Creates a new {@code GraphInfo} with default styling (line width 1.0, no dash, no fill).
getColor()ColorGets the stroke (outline) color.
setColor(color: Color)Sets the stroke (outline) color.
getFillColor()ColorGets the fill color for closed shapes.
setFillColor(fillColor: Color)Sets the fill color for closed shapes.
getLineWidth()floatGets 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()floatGets the dash phase offset.
setDashPhase(dashPhase: float)Sets the dash phase offset.
getRotationAngle()floatGets the rotation angle in degrees.
setRotationAngle(rotationAngle: float)Sets the rotation angle in degrees.
isDoubled()booleanReturns whether the line is rendered doubled.
setDoubled(doubled: boolean)Sets whether the line should be rendered doubled.
getScalingRateX()floatGets the horizontal scaling rate.
setScalingRateX(scalingRateX: float)Sets the horizontal scaling rate.
getScalingRateY()floatGets the vertical scaling rate.
setScalingRateY(scalingRateY: float)Sets the vertical scaling rate.
getSkewAngleX()floatGets the horizontal skew angle in degrees.
setSkewAngleX(skewAngleX: float)Sets the horizontal skew angle in degrees.
getSkewAngleY()floatGets 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
 Français