Shape.radius

The radius the figure.

  1. T radius [@property getter]
  2. T radius [@property setter]
    struct Shape(T : float)
    @safe nothrow pure @property
    void
    radius
    ()
    in (type == ShapeType.circle || type == ShapeType.roundrect, "This is not a circle!")
    if (
    isNumeric!T &&
    isMutable!T
    &&
    isSigned!T
    )

Meta