MetaDone
metadone.client.grasyla2.visuallibrary.widgets.customBorders.RoundedRectangleBorder Class Reference
Inheritance diagram for metadone.client.grasyla2.visuallibrary.widgets.customBorders.RoundedRectangleBorder:
Collaboration diagram for metadone.client.grasyla2.visuallibrary.widgets.customBorders.RoundedRectangleBorder:

List of all members.

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

Constructor & Destructor Documentation

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.

Parameters:
strokeThe stroke used to draw the lines.
strokeColorThe color of the stroke of the border.
backgroundColorThe color to fill the shape (null for a transparent shape).
marginThe margin between the border and the content.
outsideMarginThe 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.


Member Function Documentation


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations