BorderInfo

Vue de l’ensemble

‘BorderInfo’ est une classe dans Aspose.PDF FOSS pour Java.

Il représente les informations de stylage des frontières pour un élément de contenu tels qu’une table, une ligne ou une cellule.

Cette classe fournit 14 méthodes pour travailler avec les objets BorderInfo dans des programmes Java. Les méthodologies disponibles comprennent: ‘BorderInFO’, ‘getBottom’, getLeft', ‘getRight’, 'gettRoundedBordRadius', ’getTop', ‚setBottom’, ‘setLef’, ’setRighte’, setRoondedMoreRadio’, ‚SetTop‘. 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 : ‘bottom, 'left , ‘right` et ‘roundedRadious’, ‘’top’.

Propriétés

NameTypeAccessDescription
topGraphInfoReadReturns the top border styling.
bottomGraphInfoReadReturns the bottom border styling.
leftGraphInfoReadReturns the left border styling.
rightGraphInfoReadReturns the right border styling.
roundedBorderRadiusdoubleReadReturns the rounded border corner radius.

méthodes

SignatureDescription
BorderInfo()Creates a BorderInfo with no borders defined.
BorderInfo(side: BorderSide, width: double)Creates a BorderInfo that applies the same styling to the specified sides.
BorderInfo(side: BorderSide, width: double, color: Color)Creates a BorderInfo that applies the given color and width to the specified sides.
BorderInfo(side: BorderSide, info: GraphInfo)Creates a BorderInfo that applies the given {@link GraphInfo} to the specified sides.
getTop()GraphInfoReturns the top border styling.
setTop(top: GraphInfo)Sets the top border styling.
getBottom()GraphInfoReturns the bottom border styling.
setBottom(bottom: GraphInfo)Sets the bottom border styling.
getLeft()GraphInfoReturns the left border styling.
setLeft(left: GraphInfo)Sets the left border styling.
getRight()GraphInfoReturns the right border styling.
setRight(right: GraphInfo)Sets the right border styling.
getRoundedBorderRadius()doubleReturns the rounded border corner radius.
setRoundedBorderRadius(roundedBorderRadius: double)Sets the rounded border corner radius.

Voir aussi

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