Table of Contents

Method Clamp

Namespace
PaintDotNet
Assembly
PaintDotNet.Fundamentals.dll

Clamp<T>(T, T, T)

public static T Clamp<T>(this T value, T min, T max) where T : IComparable<T>

Parameters

value T
min T
max T

Returns

T

Type Parameters

T