Class StiPaintEventArgs

java.lang.Object
com.stimulsoft.base.EventArgs
com.stimulsoft.report.events.StiPaintEventArgs
All Implemented Interfaces:
Cloneable

public class StiPaintEventArgs extends EventArgs implements Cloneable
Describes an argument for the events Painted and Painting.
  • Constructor Details

    • StiPaintEventArgs

      public StiPaintEventArgs(Object context, StiRectangle clipRectangle)
      Creates a new object of the type StiPaintEventArgs with specified arguments.
      Parameters:
      context - Context for painting.
      clipRectangle - The rectangle in which to paint.
  • Method Details

    • getCancel

      public boolean getCancel()
      Gets or sets value indicates that drawing is canceled.
    • getClipRectangle

      public StiRectangle getClipRectangle()
      Gets the rectangle in which to paint.
    • getContext

      public Object getContext()
      Gets context for painting.
    • getDrawBorderFormatting

      public boolean getDrawBorderFormatting()
      Gets or sets value indicates that formatting will be draw.
    • getDrawChilds

      public boolean getDrawChilds()
      Gets or sets value indicates that child components must be drawed.
    • getDrawTopmostBorderSides

      public boolean getDrawTopmostBorderSides()
      Gets or sets value indicates that topmost border sides will be draw.
    • getGraphics

      public Graphics getGraphics()
      Gets Graphics for painting.
    • setCancel

      public void setCancel(boolean value)
    • setDrawBorderFormatting

      public void setDrawBorderFormatting(boolean value)
    • setDrawChilds

      public void setDrawChilds(boolean value)
    • setDrawTopmostBorderSides

      public void setDrawTopmostBorderSides(boolean value)
    • clone

      public final Object clone()
      Overrides:
      clone in class Object