Shape.scale

Resizes as a percentage.

struct Shape(T : float)
@safe nothrow pure
void
scale
(
T k
)
in (type != ShapeType.point)
if (
isNumeric!T &&
isMutable!T
&&
isSigned!T
)

Parameters

k T

Percentage.

Meta