RangeTClamp Method (RangeT) |
Clamps the given other range to be within this range. This is done by clamping each of other.First
and other.Second to be within this range. Order is unimportant.
Namespace:
Atalasoft.PdfDoc.Geometry
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public Range<T> Clamp(
Range<T> other
)
Public Function Clamp (
other As Range(Of T)
) As Range(Of T)
Parameters
- other
- Type: Atalasoft.PdfDoc.GeometryRangeT
The other to clamp.
Return Value
Type:
RangeTA new Range that is clamped.
See Also