Package org.robolectric.shadows
Class ShadowRecordingCanvas
java.lang.Object
org.robolectric.shadows.ShadowCanvas
org.robolectric.shadows.ShadowRecordingCanvas
@Implements(value=android.graphics.RecordingCanvas.class, isInAndroidSdk=false, minSdk=29) public class ShadowRecordingCanvas extends ShadowCanvas
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowCanvas
ShadowCanvas.ArcPaintHistoryEvent, ShadowCanvas.CirclePaintHistoryEvent, ShadowCanvas.LinePaintHistoryEvent, ShadowCanvas.OvalPaintHistoryEvent, ShadowCanvas.RectPaintHistoryEvent, ShadowCanvas.RoundRectPaintHistoryEvent, ShadowCanvas.TextHistoryEvent
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ShadowRecordingCanvas()
-
Method Summary
Modifier and Type Method Description protected static long
nCreateDisplayListCanvas()
protected static long
nCreateDisplayListCanvas(int width, int height)
protected static long
nCreateDisplayListCanvas(long node, int width, int height)
Methods inherited from class org.robolectric.shadows.ShadowCanvas
__constructor__, appendDescription, drawArc, drawBitmap, drawBitmap, drawBitmap, drawBitmap, drawCircle, drawColor, drawLine, drawOval, drawPaint, drawPath, drawRect, drawRect, drawRoundRect, drawText, drawText, drawText, drawText, getArcPaintHistoryCount, getCirclePaintHistoryCount, getClipBounds, getDescription, getDrawnArc, getDrawnCircle, getDrawnLine, getDrawnOval, getDrawnPaint, getDrawnPath, getDrawnPathPaint, getDrawnRect, getDrawnRoundRect, getDrawnTextEvent, getHeight, getLastDrawnRect, getLastDrawnRoundRect, getLinePaintHistoryCount, getOvalPaintHistoryCount, getPathPaintHistoryCount, getRectPaintHistoryCount, getRoundRectPaintHistoryCount, getSaveCount, getTextHistoryCount, getWidth, hasDrawnCircle, hasDrawnPath, initRaster, initRaster, initRaster, native_saveLayer, native_saveLayer, native_saveLayer, native_saveLayerAlpha, native_saveLayerAlpha, native_saveLayerAlpha, nGetSaveCount, nInitRaster, nInitRaster, nRestore, nRestoreToCount, nSave, nSaveLayer, nSaveLayer, nSaveLayerAlpha, nSaveLayerAlpha, release, reset, resetCanvasHistory, restore, restoreToCount, save, scale, scale, setBitmap, setHeight, setWidth, translate, visualize
-
Constructor Details
-
ShadowRecordingCanvas
public ShadowRecordingCanvas()
-
-
Method Details