Class ShapeStyle
- java.lang.Object
-
- uk.ac.starlink.ttools.plot2.layer.ShapeStyle
-
-
Constructor Summary
Constructors Constructor Description ShapeStyle(Outliner outliner, Stamper stamper)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)javax.swing.IcongetLegendIcon()Returns an icon suitable for displaying in a legend for this style.OutlinergetOutliner()Returns the outline shape of this style.StampergetStamper()Returns the colouring for this style.inthashCode()
-
-
-
Method Detail
-
getOutliner
public Outliner getOutliner()
Returns the outline shape of this style.- Returns:
- outline shape
-
getStamper
public Stamper getStamper()
Returns the colouring for this style.- Returns:
- colour stamper
-
getLegendIcon
public javax.swing.Icon getLegendIcon()
Description copied from interface:StyleReturns an icon suitable for displaying in a legend for this style.- Specified by:
getLegendIconin interfaceStyle
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-