createOutline

open override fun createOutline(size: Size, topStart: Float, topEnd: Float, bottomEnd: Float, bottomStart: Float, layoutDirection: LayoutDirection): Outline

Creates the outline for already-resolved corner sizes: a rectangle when every corner is square, a rounded rectangle when every effective corner is circular, and otherwise a continuous path.