SizeF class
SizeF class
Stores an ordered pair of floating-point numbers, typically the width and height of a rectangle.
The SizeF type exposes the following members:
Constructors
Constructor | Description |
---|
init | Initializes a new instance of the SizeF structure from the specified SizeF . |
init | Initializes a new instance of the SizeF structure from the specified PointF . |
init | Initializes a new instance of the SizeF structure from the specified dimensions. |
init | Constructs a new instance of SizeF |
Properties
Methods
Method | Description |
---|
add | Adds the width and height of one SizeF structure to the width and height of another SizeF structure. |
subtract | Subtracts the width and height of one SizeF structure from the width and height of another SizeF structure. |
to_point_f | Converts a SizeF to a PointF . |
to_size | Converts a SizeF to a Size structure with truncated size values. |
See Also