Class BarStyles
java.lang.Object
uk.ac.starlink.ttools.plot.BarStyles
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StyleSetReturns a new style set which draws filled full rectangles.static StyleSetReturns a new style set which draws filled 3d full rectangles.static IcongetIcon(BarStyle.Form form) Generates an icon based on a BarStlye.Form object.static IconGenerates an icon based on a StyleSet which displensed BarStyles.static StyleSetReturns a new style set which draws open full rectangles.static StyleSetsideFilled(String name) Returns a new style set which draws filled rectangles side by side (one for each subset).static StyleSetsideFilled3d(String name) Returns a new style set which draws 3d filled rectangles side by side (one for each subset).static StyleSetReturns a new style set which draws open rectangles side by side (one for each subset).static StyleSetReturns a new style set which draws a 1-d spike for each subset.static StyleSetReturns a new style set which draws only the tops of bars.
-
Constructor Details
-
BarStyles
public BarStyles()
-
-
Method Details
-
filled
-
filled3d
-
open
Returns a new style set which draws open full rectangles.- Parameters:
name- style set namerotateColor- whether to have different colours for different barsrotateDash- whether to have different stroke styles for different bars- Returns:
- style set
-
tops
Returns a new style set which draws only the tops of bars.- Parameters:
name- style set namerotateColor- whether to have different colours for different barsrotateDash- whether to have different stroke styles for different bars- Returns:
- style set
-
spikes
Returns a new style set which draws a 1-d spike for each subset.- Parameters:
name- style set namerotateColor- whether to have different colours for different barsrotateDash- whether to have different stroke styles for different bars- Returns:
- style set
-
sideFilled
-
sideFilled3d
-
sideOpen
Returns a new style set which draws open rectangles side by side (one for each subset).- Parameters:
name- style set namerotateColor- whether to have different colours for different barsrotateDash- whether to have different stroke styles for different bars- Returns:
- style set
-
getIcon
-
getIcon
Generates an icon based on a BarStlye.Form object. This icon is suitable for putting in a menu.
-