Function StyleBoxFlat.cornerDetail
This sets the amount 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
) into account.
For corner radii smaller than 10, 4
or 5
should be enough. For corner radii smaller 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.
long cornerDetail() nothrow @property @nogc;
void cornerDetail
(
long v
) nothrow @property @nogc;