SizeF Structure |
Namespace: Eto.Drawing
The SizeF type exposes the following members.
Name | Description | |
---|---|---|
![]() | SizeF(PointF) | |
![]() | SizeF(Single, Single) |
Initializes a new SizeF class with the specified width and height
|
Name | Description | |
---|---|---|
![]() ![]() | Abs |
Returns the absolute width and height of the specified size |
![]() | Contains(PointF) | |
![]() | Contains(Single, Single) | |
![]() | Equals(Object) |
Compares this size to the specified obj (Overrides ValueType.Equals(Object).) |
![]() | Equals(SizeF) |
Compares this size to the other size
|
![]() | FitTo |
Fits this size to the specified constraint, keeping the aspect
|
![]() | GetHashCode |
Gets the hash code for this Size
(Overrides ValueType.GetHashCode().) |
![]() ![]() | Max |
Returns the maximum width and height of two sizes
|
![]() ![]() | Min |
Returns the minimum width and height of two sizes
|
![]() | ToString |
Converts this Size struct to a string
(Overrides ValueType.ToString().) |
Name | Description | |
---|---|---|
![]() ![]() | Addition(SizeF, SizeF) | |
![]() ![]() | Addition(SizeF, Single) | |
![]() ![]() | Division(SizeF, SizeF) | |
![]() ![]() | Division(SizeF, Single) | |
![]() ![]() | Equality |
Compares two sizes for equality
|
![]() ![]() | Explicit(PointF to SizeF) |
Explicit conversion from a point to a Size with a Width and Height of the X and Y values of the point, respectively
|
![]() ![]() | Implicit(Size to SizeF) |
Implicitly converts the specified integral size to a floating point SizeF |
![]() ![]() | Inequality |
Compares two sizes for inequality
|
![]() ![]() | Multiply(Single, SizeF) | |
![]() ![]() | Multiply(SizeF, SizeF) | |
![]() ![]() | Multiply(SizeF, Single) | |
![]() ![]() | Subtraction(SizeF, SizeF) | |
![]() ![]() | Subtraction(SizeF, Single) | |
![]() ![]() | UnaryNegation |
Negates the Width and Height of the specified size value
|
Name | Description | |
---|---|---|
![]() ![]() | Empty |
Gets an empty size with a zero width and height
|
![]() ![]() | MaxValue |
SizeF with width and height with a maximum float value
|
![]() ![]() | MinValue |
SizeF with width and height with a minimum float value
|
![]() ![]() | NegativeInfinity |
A SizeF with the width and height set to float.NegativeInfinity
|
![]() ![]() | PositiveInfinity |
A SizeF with the width and height set to float.PositiveInfinity
|