com.stimulsoft.report.painters
Class StiPaintArgs

java.lang.Object
  extended by com.stimulsoft.report.painters.StiPaintArgs

public class StiPaintArgs
extends java.lang.Object

Class represent paint arguments Copyright Stimulsoft


Constructor Summary
StiPaintArgs(StiGraphics g)
          Constructor
StiPaintArgs(StiGraphics g, java.lang.Boolean thumbPaint)
          Constructor
StiPaintArgs(StiGraphics g, java.lang.Integer segmentX, java.lang.Integer segmentY)
           
StiPaintArgs(StiGraphics g, StiRectangle clipRectangle)
          Constructor
 
Method Summary
 void addClipRectangle(StiRectangle clipRectangle)
          Add clip rectangle
 void addClipRectangles(java.util.List<StiRectangle> clipRectangles)
          Add clip rectangles
 java.util.List<StiRectangle> getClipRectangles()
           
 java.lang.Boolean getDrawTopmostBorderSides()
           
 StiGraphics getG()
           
 java.lang.Boolean getSegmentPrint()
           
 java.lang.Integer getSegmentX()
           
 java.lang.Integer getSegmentY()
           
 java.lang.Boolean intersectsWith(StiRectangle rect)
          Intersects width
 java.lang.Boolean isThumbPaint()
           
 void setDrawTopmostBorderSides(java.lang.Boolean drawTopmostBorderSides)
           
 void shift(java.lang.Integer x, java.lang.Integer y)
          Shinf x\y
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiPaintArgs

public StiPaintArgs(StiGraphics g,
                    StiRectangle clipRectangle)
Constructor

Parameters:
g -
clipRectangle -

StiPaintArgs

public StiPaintArgs(StiGraphics g)
Constructor

Parameters:
g -

StiPaintArgs

public StiPaintArgs(StiGraphics g,
                    java.lang.Boolean thumbPaint)
Constructor

Parameters:
g -
thumbPaint - is paint thumbnails

StiPaintArgs

public StiPaintArgs(StiGraphics g,
                    java.lang.Integer segmentX,
                    java.lang.Integer segmentY)
Method Detail

intersectsWith

public java.lang.Boolean intersectsWith(StiRectangle rect)
Intersects width

Parameters:
rect -
Returns:

shift

public void shift(java.lang.Integer x,
                  java.lang.Integer y)
Shinf x\y

Parameters:
x -
y -

addClipRectangle

public void addClipRectangle(StiRectangle clipRectangle)
Add clip rectangle

Parameters:
clipRectangle - StiRectangle

addClipRectangles

public void addClipRectangles(java.util.List<StiRectangle> clipRectangles)
Add clip rectangles

Parameters:
clipRectangles - List of StiRectangle

getClipRectangles

public java.util.List<StiRectangle> getClipRectangles()
Returns:
the clipRectangles

getG

public StiGraphics getG()
Returns:
the g

getDrawTopmostBorderSides

public java.lang.Boolean getDrawTopmostBorderSides()
Returns:
the drawTopmostBorderSides

setDrawTopmostBorderSides

public void setDrawTopmostBorderSides(java.lang.Boolean drawTopmostBorderSides)
Parameters:
drawTopmostBorderSides - the drawTopmostBorderSides to set

getSegmentPrint

public java.lang.Boolean getSegmentPrint()
Returns:
the segmentPrint

getSegmentX

public java.lang.Integer getSegmentX()
Returns:
the segmentX

getSegmentY

public java.lang.Integer getSegmentY()
Returns:
the segmentY

isThumbPaint

public java.lang.Boolean isThumbPaint()
Returns:
the isThumbPaint