Click or drag to resize

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
)

Parameters

other
Type: Atalasoft.PdfDoc.GeometryRangeT
The other to clamp.

Return Value

Type: RangeT
A new Range that is clamped.
See Also