Stores a pair of numbers that represents the width and the height of a subject, typically a rectangle. More...
Public Member Functions | |
| None | Size2D (self, float width=0.0, float height=0.0) |
| Either create an empty size, or create a size with given width and height. | |
Properties | |
| height = property | |
| float: Gets or sets the vertical component of the size. | |
| width = property | |
| float: Gets or sets the horizontal component of the size. | |
Stores a pair of numbers that represents the width and the height of a subject, typically a rectangle.
| None Size2D | ( | self, | |
| float | width = 0.0, | ||
| float | height = 0.0 ) |
Either create an empty size, or create a size with given width and height.
width : float Horizontal component of the size.
height : float Vertical component of the size.