Fits this size to the specified constraint, keeping the aspect
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public SizeF FitTo(
SizeF constraint
)
Public Function FitTo (
constraint As SizeF
) As SizeF
member FitTo :
constraint : SizeF -> SizeF
Parameters
- constraint
- Type: Eto.DrawingSizeF
Constraint to fit the new size into
Return Value
Type:
SizeFThe new size with the same aspect ratio with the width/height equal or within the constraint
See Also