Метод | Описание | |
---|---|---|
CenterInside ( |
Creates a rectangle of size 'size' with a center matching that of bounds. No rounding is performed.
|
|
FitsInside ( |
Returns true if 'inner' fits inside or equals 'outer'
|
|
RoundPoints ( |
Rounds a SizeF structure using System.Round
|
|
ScaleInside ( |
Scales 'inner' to fit inside 'bounding' while maintaining aspect ratio. Upscales and downscales.
|
|
ToRectangle ( |
Rounds a floating-point rectangle to an integer rectangle using System.Round
|
public static CenterInside ( |
||
size | ||
bounds | ||
Результат |
public static FitsInside ( |
||
inner | ||
outer | ||
Результат | bool |
public static RoundPoints ( |
||
sizeF | ||
Результат |
public static ScaleInside ( |
||
inner | ||
bounding | ||
Результат |
public static ToRectangle ( |
||
r | ||
Результат |