Google is committed to advancing racial equity for Black communities. See how.

ComplicationOutlineRenderer

class ComplicationOutlineRenderer
kotlin.Any
   ↳ androidx.wear.watchface.ComplicationOutlineRenderer

Helper for rendering a dashed outline around a complication. Intended for use with LayerMode#DRAW_HIGHLIGHTED.

Summary

Public constructors

Helper for rendering a dashed outline around a complication.

Companion functions
Unit

Draws a thick dotted line around the complication with the given bounds.

Public constructors

<init>

ComplicationOutlineRenderer()

Helper for rendering a dashed outline around a complication. Intended for use with LayerMode#DRAW_HIGHLIGHTED.

Companion functions

drawComplicationSelectOutline

@JvmStatic fun drawComplicationSelectOutline(
    canvas: Canvas,
    bounds: Rect
): Unit

Draws a thick dotted line around the complication with the given bounds.