Canvas

Page 1 2 3

public boolean clipOutRect(float l, float t, float r, float b) source
public boolean clipOutRect(int l, int t, int r, int b) source
public boolean clipOutRect(Rect r) source
public boolean clipOutRect(RectF r) source
public boolean clipPath(Path path) source
public boolean clipPath(Path path, Region.Op op) source
public boolean clipOutPath(Path path) source
public boolean clipRegion(Region region, Region.Op op) deprecated source
public boolean clipRegion(Region region) deprecated source
public boolean getClipBounds(Rect bounds) source
public final Rect getClipBounds() source
public boolean quickReject(float left, float top, float right, float bottom) source
public boolean quickReject(float l, float t, float r, float b, EdgeType type) source
public boolean quickReject(RectF rect) source
public boolean quickReject(RectF rect, EdgeType type) source
public boolean quickReject(Path path) source
public boolean quickReject(Path path, EdgeType type) source

Draws

public void drawColor(int color) source
public void drawColor(long color) source
public void drawColor(int color, PorterDuff.Mode mode) source
public void drawColor(int color, BlendMode mode) source
public void drawColor(long color, BlendMode mode) source
public void drawARGB(int a, int r, int g, int b) source
public void drawRGB(int r, int g, int b) source
public void drawPaint(Paint paint) source
public void drawRect(float left, float top, float right, float bottom, Paint paint) source
public void drawRect(RectF r, Paint paint) source
public void drawRect(Rect r, Paint paint) source
public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, Paint paint) source
public void drawRoundRect(RectF r, float rx, float ry, Paint paint) source
public void drawDoubleRoundRect(RectF outer, float outerRx, float outerRy, RectF inner, float innerRx, float innerRy, Paint paint) source
public void drawDoubleRoundRect(RectF outer, float[] outerRadii, RectF inner, float[] innerRadii, Paint paint) source
public void drawOval(float left, float top, float right, float bottom, Paint paint) source
public void drawOval(RectF oval, Paint paint) source
public void drawCircle(float cx, float cy, float radius, Paint paint) source
public void drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, Paint paint) source
public void drawArc(RectF oval, float startAngle, float sweepAngle, boolean useCenter, Paint paint) source
public void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) source
public void drawLines(float[] pts, int offset, int count, Paint paint) source

Page 1 2 3


Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.