Size Structure

A rectangular size in a 2D coordinate space.

 

Namespace:  WebSupergoo.WordGlue4
Assembly:  WordGlue4 (in WordGlue4.dll) Version: 4.1.0.0 (4.1.0.0)
Syntax
public struct Size

The Size type exposes the following members.

Constructors
  Name Description
Public method Size
Construct a Size given a width and a height.
Top
Properties
  Name Description
Public property Height
The vertical component of the Size.
Public property IsZero
True if both components of the size are zero.
Public property Width
The horizontal component of the Size.
Top
Methods
Operators
  Name Description
Public operatorStatic member Addition
Add two Sizes returning the vector sum.
Public operatorStatic member Division
Divide a vector Size by a scalar.
Public operatorStatic member Equality
Compare two Sizes for equality.
Public operatorStatic member Inequality
Compare two Sizes for inequality.
Public operatorStatic member Multiply
Multiply a vector Size by a scalar.
Public operatorStatic member Subtraction
Subtract the components of one Size from another.
Public operatorStatic member UnaryNegation
Unary negative of a vector Size.
Top
See Also