Interface DrawConstrains
- All Known Implementing Classes:
DrawBig, DrawNormal, DrawSmall
public interface DrawConstrains
Drawing constraints of the JMCH animation components.
-
Method Summary
Modifier and TypeMethodDescriptionreturns the big font for the GUIReturns the type of itemsdoubleReturns the height of an element of the queuedoubleReturns the gap between two elements of the tail and between the first element of the queue and the processordoubleReturns the width of an element of the queuegetFont()returns the font for the area of panelreturns the font for the GUIdoubleReturns the radius of the processorreturns the small font for the GUIdoubleReturns the gap between the edges of the drawing from drawing itselfdouble* Returns the radius of the status
-
Method Details
-
getStartingGap
double getStartingGap()Returns the gap between the edges of the drawing from drawing itself -
getElementsGap
double getElementsGap()Returns the gap between two elements of the tail and between the first element of the queue and the processor -
getDrawStroke
Stroke getDrawStroke()Returns the type of items -
getBoldStroke
Stroke getBoldStroke() -
getFont
Font getFont()returns the font for the area of panel -
getNormalGUIFont
Font getNormalGUIFont()returns the font for the GUI -
getSmallGUIFont
Font getSmallGUIFont()returns the small font for the GUI -
getBigGUIFont
Font getBigGUIFont()returns the big font for the GUI -
getElementWidth
double getElementWidth()Returns the width of an element of the queue -
getElementHeight
double getElementHeight()Returns the height of an element of the queue- Returns:
-
getProcessorRadius
double getProcessorRadius()Returns the radius of the processor -
getStatusRadius
double getStatusRadius()* Returns the radius of the status
-