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
| Name | Type | Access | Description |
|---|---|---|---|
top | GraphInfo | Read | Returns the top border styling. |
bottom | GraphInfo | Read | Returns the bottom border styling. |
left | GraphInfo | Read | Returns the left border styling. |
right | GraphInfo | Read | Returns the right border styling. |
roundedBorderRadius | double | Read | Returns the rounded border corner radius. |
méthodes
| Signature | Description |
|---|---|
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() → GraphInfo | Returns the top border styling. |
setTop(top: GraphInfo) | Sets the top border styling. |
getBottom() → GraphInfo | Returns the bottom border styling. |
setBottom(bottom: GraphInfo) | Sets the bottom border styling. |
getLeft() → GraphInfo | Returns the left border styling. |
setLeft(left: GraphInfo) | Sets the left border styling. |
getRight() → GraphInfo | Returns the right border styling. |
setRight(right: GraphInfo) | Sets the right border styling. |
getRoundedBorderRadius() → double | Returns the rounded border corner radius. |
setRoundedBorderRadius(roundedBorderRadius: double) | Sets the rounded border corner radius. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise