MetaDone
|
Public Member Functions | |
RoundedRectangleBorder (Stroke stroke, Color strokeColor, Color backgroundColor, int margin, int outsideMargin, int hArcWidth, int vArcWidth) | |
void | paint (Graphics2D g, Rectangle bounds) |
Package Attributes | |
final int | vArcWidth |
Private Attributes | |
final int | hArcWidth |
metadone.client.grasyla2.visuallibrary.widgets.customBorders.RoundedRectangleBorder.RoundedRectangleBorder | ( | Stroke | stroke, |
Color | strokeColor, | ||
Color | backgroundColor, | ||
int | margin, | ||
int | outsideMargin, | ||
int | hArcWidth, | ||
int | vArcWidth | ||
) |
Initializes this border.
stroke | The stroke used to draw the lines. |
strokeColor | The color of the stroke of the border. |
backgroundColor | The color to fill the shape (null for a transparent shape). |
margin | The margin between the border and the content. |
outsideMargin | The outside margin. |
References metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.computeInsets(), metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.getStrokeWidth(), metadone.client.grasyla2.visuallibrary.widgets.customBorders.RoundedRectangleBorder.hArcWidth, and metadone.client.grasyla2.visuallibrary.widgets.customBorders.RoundedRectangleBorder.vArcWidth.
void metadone.client.grasyla2.visuallibrary.widgets.customBorders.RoundedRectangleBorder.paint | ( | Graphics2D | g, |
Rectangle | bounds | ||
) |
References metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.getBackgroundColor(), metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.getOutsideMargin(), metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.getStroke(), metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.getStrokeColor(), metadone.client.grasyla2.visuallibrary.widgets.customBorders.RoundedRectangleBorder.hArcWidth, metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.isOpaque(), metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.reduceBoundsForPaint(), and metadone.client.grasyla2.visuallibrary.widgets.customBorders.RoundedRectangleBorder.vArcWidth.