com.stimulsoft.report.painters.shapetype
Class StiShapeTypePainter

java.lang.Object
  extended by com.stimulsoft.report.painters.StiPainter
      extended by com.stimulsoft.report.painters.shapetype.StiShapeTypePainter
Direct Known Subclasses:
StiArrowShapeTypePainter, StiBentArrowShapeTypePainter, StiChevronShapeTypePainter, StiChordShapeTypePainter, StiComplexArrowShapeTypePainter, StiDiagonalDownLineShapeTypePainter, StiDiagonalUpLineShapeTypePainter, StiDivisionShapeTypePainter, StiEqualShapeTypePainter, StiFlowchartCardShapeTypePainter, StiFlowchartCollateShapeTypePainter, StiFlowchartDecisionShapeTypePainter, StiFlowchartManualInputShapeTypePainter, StiFlowchartOffPageConnectorShapeTypePainter, StiFlowchartPreparationShapeTypePainter, StiFlowchartSortShapeTypePainter, StiFrameShapeTypePainter, StiHorizontalLineShapeTypePainter, StiLeftAndRightLineShapeTypePainter, StiMinusShapeTypePainter, StiMultiplyShapeTypePainter, StiOvalShapeTypePainter, StiParallelogramShapeTypePainter, StiPieShapeTypePainter, StiPlusShapeTypePainter, StiRectangleShapeTypePainter, StiRegularPentagonShapeTypePainter, StiRoundedRectangleShapeTypePainter, StiSnipDiagonalSideCornerRectangleShapeTypePainter, StiSnipSameSideCornerRectangleShapeTypePainter, StiTopAndBottomLineShapeTypePainter, StiTrapezoidShapeTypePainter, StiTriangleShapeTypePainter, StiVerticalLineShapeTypePainter

public class StiShapeTypePainter
extends StiPainter

Base StiShape Painter Copyright Stimulsoft


Constructor Summary
StiShapeTypePainter()
           
 
Method Summary
static void drawShape(StiGraphics g, StiShape shape, java.util.List<StiPathCommand> path, StiRectangle rect, java.lang.Double zoom, java.lang.Double pageZoom)
          Draw shape
static StiShapeTypePainter getPainter(StiShapeTypeService componentType)
          Returns StiShapeTypePainter accoding to StiShapeTypeService
 void paint(StiGraphics g, StiShape shape, StiShapeTypeService shapeType, StiRectangle rect, java.lang.Double zoom, java.lang.Double pageZoom)
          Paint StiShape
 
Methods inherited from class com.stimulsoft.report.painters.StiPainter
getImage, getIndicatorPainter, getPainter, getShapePainter, paint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiShapeTypePainter

public StiShapeTypePainter()
Method Detail

getPainter

public static StiShapeTypePainter getPainter(StiShapeTypeService componentType)
Returns StiShapeTypePainter accoding to StiShapeTypeService

Parameters:
componentType -
Returns:

paint

public void paint(StiGraphics g,
                  StiShape shape,
                  StiShapeTypeService shapeType,
                  StiRectangle rect,
                  java.lang.Double zoom,
                  java.lang.Double pageZoom)
Paint StiShape

Parameters:
g - StiGraphics
shape - StiShape
shapeType - StiShapeTypeService
rect - StiRectangle
zoom -
pageZoom -

drawShape

public static void drawShape(StiGraphics g,
                             StiShape shape,
                             java.util.List<StiPathCommand> path,
                             StiRectangle rect,
                             java.lang.Double zoom,
                             java.lang.Double pageZoom)
Draw shape

Parameters:
g - StiGraphics
shape - StiShape
path - List of StiPathCommand
rect - StiRectangle
zoom -
pageZoom -


Copyright © 2018 Stimulsoft. All Rights Reserved.