org.jplot2d.sizing
Class FixedSizeMode
- java.lang.Object
-
- org.jplot2d.sizing.SizeMode
-
- org.jplot2d.sizing.FixedSizeMode
-
public class FixedSizeMode extends SizeMode
The plot paper size is fixed. Changing the container size will change the scale, while keep the width/height ratio of plot.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jplot2d.sizing.SizeMode
SizeMode.Result
-
-
Constructor Summary
Constructors Constructor and Description FixedSizeMode()The plot paper size is set to default size, 640x480.FixedSizeMode(java.awt.geom.Dimension2D size)FixedSizeMode(double width, double height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringtoString()SizeMode.Resultupdate(PlotEx plot)Update the internal status of this size mode.-
Methods inherited from class org.jplot2d.sizing.SizeMode
isAutoPack
-
-
-
-
Constructor Detail
-
FixedSizeMode
public FixedSizeMode()
The plot paper size is set to default size, 640x480.
-
FixedSizeMode
public FixedSizeMode(java.awt.geom.Dimension2D size)
-
FixedSizeMode
public FixedSizeMode(double width, double height)
-
-
Method Detail
-
update
public SizeMode.Result update(PlotEx plot)
Description copied from class:SizeModeUpdate the internal status of this size mode.For Internal use only. User should never call this method.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG