public class RepaintEvent
extends java.util.EventObject
Constructor and Description |
---|
RepaintEvent(java.lang.Object source,
android.graphics.RectF invalidRect) |
RepaintEvent(java.lang.Object source,
android.graphics.RectF invalidRect,
boolean redrawCacheImage)
Initializes a new instance of the
RepaintEvent class |
Modifier and Type | Method and Description |
---|---|
android.graphics.RectF |
getInvalidRect()
Gets the rectangular area in the diagram document
that should be repainted.
|
boolean |
getRedrawCacheImage()
Gets a value indicating whether the back-buffer cache image should be repainted as well.
|
void |
setInvalidRect(android.graphics.RectF invalidRect)
Sets the rectangular area in the diagram document
that should be repainted.
|
public RepaintEvent(java.lang.Object source, android.graphics.RectF invalidRect, boolean redrawCacheImage)
RepaintEvent
classsource
- The source of the event.invalidRect
- A RectF object representing
the rectangle that should be repainted.redrawCacheImage
- A boolean value specifying
whether the diagram cache image used during modification
should be re-created.public RepaintEvent(java.lang.Object source, android.graphics.RectF invalidRect)
public android.graphics.RectF getInvalidRect()
public void setInvalidRect(android.graphics.RectF invalidRect)
invalidRect
- A RectF instance specifying the invalid rectangle.public boolean getRedrawCacheImage()