builder

open fun builder(@NonNull context: Context, attrs: AttributeSet, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int): ShapeAppearanceModel.Builder
open fun builder(@NonNull context: Context, attrs: AttributeSet, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int, defaultCornerSize: Int): ShapeAppearanceModel.Builder
open fun builder(@NonNull context: Context, attrs: AttributeSet, @AttrRes defStyleAttr: Int, @StyleRes defStyleRes: Int, @NonNull defaultCornerSize: CornerSize): ShapeAppearanceModel.Builder
open fun builder(context: Context, @StyleRes shapeAppearanceResId: Int, @StyleRes shapeAppearanceOverlayResId: Int): ShapeAppearanceModel.Builder


open fun builder(@NonNull theme: Resources.Theme, @StyleRes shapeAppearanceResId: Int): ShapeAppearanceModel.Builder

This builder only takes in a single shape appearance, no shape appearance overlay. Additionally, it does not use ContextThemeWrapper like the other builders, meaning XML @macro usages in the shape appearance are not supported, due to b/230755281.