com.stimulsoft.report.painters
Class StiContextPainter
java.lang.Object
  
com.stimulsoft.report.painters.StiContextPainter
- All Implemented Interfaces: 
 - IStiContextPainter
 
public class StiContextPainter
- extends java.lang.Object
- implements IStiContextPainter
  
 
| 
Method Summary | 
 StiContext | 
createShadowGraphics(boolean isPrinting,
                     float zoom)
 
            | 
 StiStringFormatGeom | 
getDefaultStringFormat()
 
            | 
 StiStringFormatGeom | 
getGenericStringFormat()
 
            | 
 StiGraphics | 
getGraphics()
 
            | 
 StiRectangle | 
getPathBounds(java.util.List<StiSegmentGeom> geoms)
 
            | 
 StiRectangle | 
measureRotatedString(java.lang.String text,
                     StiFontGeom font,
                     StiPoint point,
                     StiStringFormatGeom sf,
                     StiRotationMode mode,
                     double angle)
 
            | 
 StiRectangle | 
measureRotatedString(java.lang.String text,
                     StiFontGeom font,
                     StiPoint point,
                     StiStringFormatGeom sf,
                     StiRotationMode mode,
                     double angle,
                     int maximalWidth,
                     boolean wordWrap)
 
            | 
 StiRectangle | 
measureRotatedString(java.lang.String text,
                     StiFontGeom font,
                     StiRectangle rect,
                     StiStringFormatGeom sf,
                     double angle)
 
            | 
 StiRectangle | 
measureRotatedString(java.lang.String text,
                     StiFontGeom font,
                     StiRectangle rect,
                     StiStringFormatGeom sf,
                     StiRotationMode mode,
                     double angle)
 
            | 
 StiSize | 
measureString(java.lang.String text,
              StiFontGeom font)
 
            | 
 StiSize | 
measureString(java.lang.String text,
              StiFontGeom font,
              int width,
              StiStringFormatGeom sf)
 
            | 
 void | 
render(StiRectangle rect,
       java.util.List<StiGeom> geoms)
 
            | 
 void | 
setGraphics(StiGraphics graphics)
 
            | 
 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
StiContextPainter
public StiContextPainter(StiGraphics graphics,
                         double zoom,
                         java.lang.Double pageZoom)
getDefaultStringFormat
public StiStringFormatGeom getDefaultStringFormat()
- Specified by:
 getDefaultStringFormat in interface IStiContextPainter
 
 
getGenericStringFormat
public StiStringFormatGeom getGenericStringFormat()
- Specified by:
 getGenericStringFormat in interface IStiContextPainter
 
 
createShadowGraphics
public StiContext createShadowGraphics(boolean isPrinting,
                                       float zoom)
- Specified by:
 createShadowGraphics in interface IStiContextPainter
 
 
getPathBounds
public StiRectangle getPathBounds(java.util.List<StiSegmentGeom> geoms)
- Specified by:
 getPathBounds in interface IStiContextPainter
 
 
measureString
public StiSize measureString(java.lang.String text,
                             StiFontGeom font)
- Specified by:
 measureString in interface IStiContextPainter
 
 
measureString
public StiSize measureString(java.lang.String text,
                             StiFontGeom font,
                             int width,
                             StiStringFormatGeom sf)
- Specified by:
 measureString in interface IStiContextPainter
 
 
measureRotatedString
public StiRectangle measureRotatedString(java.lang.String text,
                                         StiFontGeom font,
                                         StiRectangle rect,
                                         StiStringFormatGeom sf,
                                         double angle)
- Specified by:
 measureRotatedString in interface IStiContextPainter
 
 
measureRotatedString
public StiRectangle measureRotatedString(java.lang.String text,
                                         StiFontGeom font,
                                         StiRectangle rect,
                                         StiStringFormatGeom sf,
                                         StiRotationMode mode,
                                         double angle)
- Specified by:
 measureRotatedString in interface IStiContextPainter
 
 
measureRotatedString
public StiRectangle measureRotatedString(java.lang.String text,
                                         StiFontGeom font,
                                         StiPoint point,
                                         StiStringFormatGeom sf,
                                         StiRotationMode mode,
                                         double angle,
                                         int maximalWidth,
                                         boolean wordWrap)
- Specified by:
 measureRotatedString in interface IStiContextPainter
 
 
measureRotatedString
public StiRectangle measureRotatedString(java.lang.String text,
                                         StiFontGeom font,
                                         StiPoint point,
                                         StiStringFormatGeom sf,
                                         StiRotationMode mode,
                                         double angle)
- Specified by:
 measureRotatedString in interface IStiContextPainter
 
 
render
public void render(StiRectangle rect,
                   java.util.List<StiGeom> geoms)
- Specified by:
 render in interface IStiContextPainter
 
 
getGraphics
public StiGraphics getGraphics()
 
- Returns:
 - the graphics
 
 
setGraphics
public void setGraphics(StiGraphics graphics)
 
- Parameters:
 graphics - the graphics to set