Public Member Functions | Public Attributes | Private Attributes
edu.tum.cs.vis.model.util.DrawSettings Class Reference

List of all members.

Public Member Functions

Object clone ()
void decLineWidth ()
 DrawSettings ()
int getLineWidth ()
Color getOverrideColor ()
DrawSettings getTemporaryOverride (Color overrideColor)
void incLineWidth ()
void setLineWidth (int lineWidth)
void setOverrideColor (Color overrideColor)

Public Attributes

DrawType drawType
boolean forceDraw = false

Private Attributes

int lineWidth = 1
Color overrideColor

Detailed Description

General settings used for drawing triangles, lines and vertices. This class is used to override the default appearance of a triangle.

Author:
Stefan Profanter

Definition at line 19 of file DrawSettings.java.


Constructor & Destructor Documentation

Default constructor. Initializes DrawSettings with default values which don't override the appearance.

Definition at line 24 of file DrawSettings.java.


Member Function Documentation

Definition at line 88 of file DrawSettings.java.

Decrease the line width for draw type lines (minimum is 1).

Definition at line 56 of file DrawSettings.java.

Returns the current line width.

Returns:
current line width.

Definition at line 67 of file DrawSettings.java.

Returns:
the overrideColor

Definition at line 116 of file DrawSettings.java.

Clones the calling draw settings object and sets the override color of the cloned object to the given one. The cloned object is then returned.

Parameters:
overrideColorThe new override color for the cloned object.
Returns:
A cloned copy of this, where override color is set to the provided one.

Definition at line 107 of file DrawSettings.java.

Increase the line width for draw type lines.

Definition at line 49 of file DrawSettings.java.

void edu.tum.cs.vis.model.util.DrawSettings.setLineWidth ( int  lineWidth) [inline]
Parameters:
lineWidththe lineWidth to set

Definition at line 83 of file DrawSettings.java.

void edu.tum.cs.vis.model.util.DrawSettings.setOverrideColor ( Color  overrideColor) [inline]
Parameters:
overrideColorthe overrideColor to set

Definition at line 75 of file DrawSettings.java.


Member Data Documentation

Type of drawing (only for triangles): filled, lines, points

Definition at line 36 of file DrawSettings.java.

Forces the annotation or triangle to draw, even if it is unselected from the annotation list.

Definition at line 44 of file DrawSettings.java.

Line width for draw type lines

Definition at line 40 of file DrawSettings.java.

Override color. If set, it overrides the appearance color.

Definition at line 32 of file DrawSettings.java.


The documentation for this class was generated from the following file:


knowrob_cad_parser
Author(s): Stefan Profanter
autogenerated on Sat Dec 28 2013 17:09:45