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

List of all members.

Public Member Functions

 RectangleBorder (Stroke stroke, Color strokeColor, Color backgroundColor, int margin, int outsideMargin)
void paint (Graphics2D g, Rectangle bounds)

Detailed Description

Simple rectangular border.

Author:
kma

Constructor & Destructor Documentation

metadone.client.grasyla2.visuallibrary.widgets.customBorders.RectangleBorder.RectangleBorder ( Stroke  stroke,
Color  strokeColor,
Color  backgroundColor,
int  margin,
int  outsideMargin 
)

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(), and metadone.client.grasyla2.visuallibrary.widgets.customBorders.AbstractCustomBorder.getStrokeWidth().


Member Function Documentation


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