org.jplot2d.sizing
Class AutoPackSizeMode
- java.lang.Object
-
- org.jplot2d.sizing.SizeMode
-
- org.jplot2d.sizing.AutoPackSizeMode
-
public class AutoPackSizeMode extends SizeMode
The plot paper size is auto packed to its contents. The plot content size is assigned by preferred content size. 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 AutoPackSizeMode()The plot paper size is auto packed according to its preferred content size.
-
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
-
AutoPackSizeMode
public AutoPackSizeMode()
The plot paper size is auto packed according to its preferred content size.
-
-
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