Style Intelligence v12.0

inetsoft.report
Interface ScaledPainter

All Superinterfaces:
Painter, Serializable
All Known Implementing Classes:
BulletPainter

public interface ScaledPainter
extends Painter

ScaledPainter is a painter that knows it's precise size in inches. The pixel size returned by getPreferredSize() is treated as the area used for painting, but the end result is scaled to fit the size specified with the getSize() method.


Method Summary
 Size getSize()
          Return the preferred actual size of this painter.
 
Methods inherited from interface inetsoft.report.Painter
getPreferredSize, isScalable, paint
 

Method Detail

getSize

Size getSize()
Return the preferred actual size of this painter. This size is different from the preferred size in that it is specified as inches, which is independent of the resolution of the output media. The ReportSheet automatically scales the image to fit the exact size returned by this method.

Returns:
size in inches.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.