@Equality public class PlotPosition extends 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(Integer width,
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(Object o) |
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.
|
Integer |
getWidth()
Returns the external width for the plot, if specified.
|
int |
hashCode() |
public PlotPosition()
public PlotPosition(Integer width, 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 Integer getWidth()
public Integer getHeight()
public uk.ac.starlink.ttools.plot2.Padding getPadding()
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.