de.postfuse.ui
Interface Design
- All Known Subinterfaces:
- EdgeDesign, NodeDesign
public interface Design
This is an general Design interface for graph items. The design objects
behind this interface are used as container to carry a lot of design
information.
- Author:
- Peter
getFillColor
Color getFillColor()
- Returns:
- the current fill color
getStrokeColor
Color getStrokeColor()
- Returns:
- the current stroke color
getTextColor
Color getTextColor()
- Returns:
- the current text color
getStrokeWidth
float getStrokeWidth()
- Returns:
- the current stroke width
getStroke
Stroke getStroke()
- Returns:
- the stroke object which defines all stroke properties
setStrokeColor
void setStrokeColor(Color strokecolor)
- Parameters:
strokecolor
- the new stroke color
setFillColor
void setFillColor(Color fillcolor)
- Parameters:
fillcolor
- the new fill color
setTextColor
void setTextColor(Color textcolor)
- Parameters:
textcolor
- the new text color
setStrokeWidth
void setStrokeWidth(float strokewidth)
- Parameters:
strokewidth
- the new text color