MetaDone
metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.BarAnchorShape Class Reference
Inheritance diagram for metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.BarAnchorShape:
Collaboration diagram for metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.BarAnchorShape:

List of all members.

Public Member Functions

 BarAnchorShape (Stroke stroke, int size, int width, boolean filled, Color fillColor)
int getRadius ()
double getCutDistance ()
String toString ()

Static Private Member Functions

static Shape makeShape (int size, int width)

Private Attributes

final int radius
final int width

Detailed Description

An bar anchor shape.

Author:
kma

Constructor & Destructor Documentation

metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.BarAnchorShape.BarAnchorShape ( Stroke  stroke,
int  size,
int  width,
boolean  filled,
Color  fillColor 
)

Initializes this shape.

Parameters:
strokeThe stroke (optional)
sizeThe size of an edge of the square
widthThe width of the bar
filledWhether the shape is filled
fillColorThe color with which the shape is filled (optional)
See also:
AbstractCustomAnchorShape

References metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.BarAnchorShape.makeShape(), metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.BarAnchorShape.radius, and metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.BarAnchorShape.width.


Member Function Documentation

double metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.BarAnchorShape.getCutDistance ( )
int metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.BarAnchorShape.getRadius ( )
static Shape metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.BarAnchorShape.makeShape ( int  size,
int  width 
) [static, private]
String metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.BarAnchorShape.toString ( )

Member Data Documentation


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