Searched refs:getDrawnLine (Results 1 – 2 of 2) sorted by relevance
359 assertThat(shadowCanvas.getDrawnLine(0).startX).isEqualTo(0f); in drawLine_shouldRecordLineHistoryEvents()360 assertThat(shadowCanvas.getDrawnLine(0).startY).isEqualTo(2f); in drawLine_shouldRecordLineHistoryEvents()361 assertThat(shadowCanvas.getDrawnLine(0).stopX).isEqualTo(3f); in drawLine_shouldRecordLineHistoryEvents()362 assertThat(shadowCanvas.getDrawnLine(0).stopY).isEqualTo(4f); in drawLine_shouldRecordLineHistoryEvents()363 assertThat(shadowCanvas.getDrawnLine(0).paint.getColor()).isEqualTo(Color.RED); in drawLine_shouldRecordLineHistoryEvents()364 assertThat(shadowCanvas.getDrawnLine(0).paint.getStrokeWidth()).isEqualTo(1.0f); in drawLine_shouldRecordLineHistoryEvents()366 assertThat(shadowCanvas.getDrawnLine(1).startX).isEqualTo(5f); in drawLine_shouldRecordLineHistoryEvents()367 assertThat(shadowCanvas.getDrawnLine(1).startY).isEqualTo(6f); in drawLine_shouldRecordLineHistoryEvents()368 assertThat(shadowCanvas.getDrawnLine(1).stopX).isEqualTo(7f); in drawLine_shouldRecordLineHistoryEvents()369 assertThat(shadowCanvas.getDrawnLine(1).stopY).isEqualTo(8f); in drawLine_shouldRecordLineHistoryEvents()[all …]
350 public LinePaintHistoryEvent getDrawnLine(int i) { in getDrawnLine() method in ShadowCanvas