@Equality
public class PlotPosition
extends java.lang.Object
Any of these Integer dimensions may be null, indicating that no explicit settings are in force. Where there is no explicit setting, the plotting machinery is expected to come up with sensible defaults.
Constructor and Description |
---|
PlotPosition()
Constructs a PlotPosition with no explicit settings.
|
PlotPosition(java.lang.Integer width,
java.lang.Integer height,
uk.ac.starlink.ttools.plot2.Padding padding)
Constructs a PlotPosition from a Dimension and Insets.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Integer |
getHeight()
Returns the external height for the plot, if specified.
|
uk.ac.starlink.ttools.plot2.Padding |
getPadding()
Returns settings for the border between the data region and exterior
dimensions of a plot.
|
java.lang.Integer |
getWidth()
Returns the external width for the plot, if specified.
|
int |
hashCode() |
public PlotPosition()
public PlotPosition(java.lang.Integer width, java.lang.Integer height, uk.ac.starlink.ttools.plot2.Padding padding)
width
- external plot width, may be nullheight
- external plot height, may be nullpadding
- border between external plot dimensions
and data region, may be null or have null memberspublic java.lang.Integer getWidth()
public java.lang.Integer getHeight()
public uk.ac.starlink.ttools.plot2.Padding getPadding()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright ? 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.