MetaDone
|
Public Member Functions | |
NoteBorder (Stroke stroke, Color strokeColor, Color backgroundColor, int margin, int outsideMargin, int noteSize) | |
NoteBorder (Stroke stroke, Color strokeColor, Color backgroundColor, int margin, int outsideMargin, int noteSize, int oppositeMargin) | |
void | paint (Graphics2D g, Rectangle bounds) |
Private Attributes | |
final int | noteSize |
A note border.
metadone.client.grasyla2.visuallibrary.widgets.customBorders.NoteBorder.NoteBorder | ( | Stroke | stroke, |
Color | strokeColor, | ||
Color | backgroundColor, | ||
int | margin, | ||
int | outsideMargin, | ||
int | noteSize | ||
) |
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. |
noteSize | The size of the note (top left corner) |
References metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.backgroundColor, metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.margin, metadone.client.grasyla2.visuallibrary.widgets.customBorders.NoteBorder.noteSize, metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.outsideMargin, metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.stroke, and metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.strokeColor.
metadone.client.grasyla2.visuallibrary.widgets.customBorders.NoteBorder.NoteBorder | ( | Stroke | stroke, |
Color | strokeColor, | ||
Color | backgroundColor, | ||
int | margin, | ||
int | outsideMargin, | ||
int | noteSize, | ||
int | oppositeMargin | ||
) |
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. |
noteSize | The size of the note (top left corner) |
oppositeMargin | The additional margin for the bottom left corner |
References metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.computeInsets(), metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.getStrokeWidth(), and metadone.client.grasyla2.visuallibrary.widgets.customBorders.NoteBorder.noteSize.
void metadone.client.grasyla2.visuallibrary.widgets.customBorders.NoteBorder.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.AbstractCustomBorder.isOpaque(), metadone.client.grasyla2.visuallibrary.widgets.customBorders.NoteBorder.noteSize, and metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.reduceBoundsForPaint().
final int metadone.client.grasyla2.visuallibrary.widgets.customBorders.NoteBorder.noteSize [private] |