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

List of all members.

Public Member Functions

 XAnchorShape (Stroke stroke, int size)
 XAnchorShape (Stroke stroke, int size, double angle)
int getRadius ()
double getCutDistance ()
boolean isLineOriented ()
String toString ()

Static Private Member Functions

static Shape makeShape (int size, double angle)

Private Attributes

final int size

Detailed Description

An X anchor shape.

Author:
kma

Constructor & Destructor Documentation

metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.XAnchorShape.XAnchorShape ( Stroke  stroke,
int  size 
)
metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.XAnchorShape.XAnchorShape ( Stroke  stroke,
int  size,
double  angle 
)

Initializes this shape.

Parameters:
strokeThe stroke (optional)
sizeThe size of an edge of the square
angleThe angle between the edge and the lines
See also:
AbstractCustomAnchorShape

References metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.XAnchorShape.makeShape().


Member Function Documentation

double metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.XAnchorShape.getCutDistance ( )
int metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.XAnchorShape.getRadius ( )
boolean metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.XAnchorShape.isLineOriented ( )
static Shape metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.XAnchorShape.makeShape ( int  size,
double  angle 
) [static, private]
String metadone.client.grasyla2.visuallibrary.widgets.customAnchorShapes.XAnchorShape.toString ( )

Member Data Documentation


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