Class RenderTarget
- java.lang.Object
-
- de.hendrikjanssen.geotifftools.rendering.RenderTarget
-
public class RenderTarget extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RenderTarget(java.awt.Dimension targetDimension)
RenderTarget(java.awt.Dimension targetDimension, java.awt.Rectangle sourceRect)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RenderTarget
constraintToSize(int maxWidth, int maxHeight)
java.awt.Rectangle
getSourceRect()
java.awt.Dimension
getTargetDimension()
static RenderTarget
ofOriginalGeoTiffSize(GeoTiff geoTiff)
RenderTarget
scaleUniform(double factor)
java.awt.Point
transformFromTargetToSource(java.awt.Point targetPoint)
-
-
-
Method Detail
-
ofOriginalGeoTiffSize
public static RenderTarget ofOriginalGeoTiffSize(GeoTiff geoTiff)
-
scaleUniform
public RenderTarget scaleUniform(double factor)
-
constraintToSize
public RenderTarget constraintToSize(int maxWidth, int maxHeight)
-
getSourceRect
public java.awt.Rectangle getSourceRect()
-
getTargetDimension
public java.awt.Dimension getTargetDimension()
-
transformFromTargetToSource
public java.awt.Point transformFromTargetToSource(java.awt.Point targetPoint)
-
-