StyleBoxFlat.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) into account. 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.

  1. long cornerDetail [@property getter]
    struct StyleBoxFlat
    @nogc nothrow @property
    long
    cornerDetail
    ()
  2. long cornerDetail [@property setter]

Meta