DisplayListCanvas


class DisplayListCanvas : Canvas


Stubs for DisplayListCanvas on M-P devices.

Summary

Public constructors

Public functions

Unit

stub

Inherited Constants

From android.graphics.Canvas
const Int

Inherited functions

From android.graphics.Canvas
Boolean
clipOutPath(path: Path!)
Boolean
Boolean
clipPath(path: Path!, op: Region.Op!)

This function is deprecated.

Boolean
clipRect(rect: RectF!, op: Region.Op!)

This function is deprecated.

Unit
concat(matrix: Matrix!)
Unit
Unit
drawARGB(a: Int, r: Int, g: Int, b: Int)
Unit
drawArc(
    oval: RectF!,
    startAngle: Float,
    sweepAngle: Float,
    useCenter: Boolean,
    paint: Paint!
)
Unit
drawBitmap(bitmap: Bitmap!, left: Float, top: Float, paint: Paint!)
Unit
drawBitmapMesh(
    bitmap: Bitmap!,
    meshWidth: Int,
    meshHeight: Int,
    verts: FloatArray!,
    vertOffset: Int,
    colors: IntArray!,
    colorOffset: Int,
    paint: Paint!
)
Unit
drawCircle(cx: Float, cy: Float, radius: Float, paint: Paint!)
Unit
drawColor(color: Int)
Unit
drawDoubleRoundRect(
    outer: RectF!,
    outerRx: Float,
    outerRy: Float,
    inner: RectF!,
    innerRx: Float,
    innerRy: Float,
    paint: Paint!
)
Unit
drawGlyphs(
    glyphIds: IntArray!,
    glyphIdOffset: Int,
    positions: FloatArray!,
    positionOffset: Int,
    glyphCount: Int,
    font: Font!,
    paint: Paint!
)
Unit
drawLine(
    startX: Float,
    startY: Float,
    stopX: Float,
    stopY: Float,
    paint: Paint!
)
Unit
drawLines(pts: FloatArray!, offset: Int, count: Int, paint: Paint!)
Unit
drawMesh(mesh: Mesh!, blendMode: BlendMode!, paint: Paint!)
Unit
drawOval(oval: RectF!, paint: Paint!)
Unit
drawPaint(paint: Paint!)
Unit
drawPatch(patch: NinePatch!, dst: Rect!, paint: Paint!)
Unit
drawPath(path: Path!, paint: Paint!)
Unit
drawPicture(picture: Picture!)
Unit
drawPoint(x: Float, y: Float, paint: Paint!)
Unit
drawPoints(pts: FloatArray!, offset: Int, count: Int, paint: Paint!)
Unit
drawPosText(
    text: CharArray!,
    index: Int,
    count: Int,
    pos: FloatArray!,
    paint: Paint!
)

This function is deprecated.

Unit
drawRGB(r: Int, g: Int, b: Int)
Unit
drawRect(rect: RectF!, paint: Paint!)
Unit
drawRenderNode(renderNode: RenderNode!)
Unit
drawRoundRect(rect: RectF!, rx: Float, ry: Float, paint: Paint!)
Unit
drawText(
    text: CharArray!,
    index: Int,
    count: Int,
    x: Float,
    y: Float,
    paint: Paint!
)
Unit
drawTextOnPath(
    text: CharArray!,
    index: Int,
    count: Int,
    path: Path!,
    hOffset: Float,
    vOffset: Float,
    paint: Paint!
)
Unit
drawTextRun(
    text: CharArray!,
    index: Int,
    count: Int,
    contextIndex: Int,
    contextCount: Int,
    x: Float,
    y: Float,
    isRtl: Boolean,
    paint: Paint!
)
Unit
drawVertices(
    mode: Canvas.VertexMode!,
    vertexCount: Int,
    verts: FloatArray!,
    vertOffset: Int,
    texs: FloatArray!,
    texOffset: Int,
    colors: IntArray!,
    colorOffset: Int,
    indices: ShortArray!,
    indexOffset: Int,
    indexCount: Int,
    paint: Paint!
)
Unit
Rect!
Boolean
getClipBounds(bounds: Rect!)
Int
DrawFilter!
Int
Matrix!

This function is deprecated.

Unit

This function is deprecated.

Int
Int
Int
Int
Boolean
Boolean
Boolean
quickReject(rect: RectF!, type: Canvas.EdgeType!)

This function is deprecated.

Unit
Unit
restoreToCount(saveCount: Int)
Unit
rotate(degrees: Float)
Int
Int
saveLayer(bounds: RectF!, paint: Paint!, saveFlags: Int)

This function is deprecated.

Int
saveLayerAlpha(bounds: RectF!, alpha: Int, saveFlags: Int)

This function is deprecated.

Unit
scale(sx: Float, sy: Float)
Unit
setBitmap(bitmap: Bitmap!)
Unit
setDensity(density: Int)
Unit
Unit
setMatrix(matrix: Matrix!)
Unit
skew(sx: Float, sy: Float)
Unit
translate(dx: Float, dy: Float)

Public constructors

DisplayListCanvas

Added in 1.0.0
DisplayListCanvas()

Public functions

drawRenderNode

Added in 1.0.0
fun drawRenderNode(renderNode: RenderNode): Unit

stub