cornerDetail

    This sets the number of vertices used for each corner. Higher values result in rounder corners but take more processing power to compute. When choosing a value, you should take the corner radius (setCornerRadiusAll(radius:)) into account.

    StyleBoxFlat.swift:188
    final var cornerDetail: Int32 { get set }

    For corner radii less than 10, 4 or 5 should be enough. For corner radii less than 30, values between 8 and 12 should be enough.

    A corner detail of 1 will result in chamfered corners instead of rounded corners, which is useful for some artistic effects.

    Other members in extension

    Type members

    Instance members