Point Structure

A 2D point in a top-down coordinate space.

 

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

The Point type exposes the following members.

Constructors
  Name Description
Public method Point
Construct the Point given a horizontal and vertical component.
Top
Properties
  Name Description
Public property IsZero
True if both components of the point are zero.
Public property X
The horizontal component of the Point. Increasing values move to the right.
Public property Y
The vertical component of the Point. Increasing values move down.
Top
Methods
Operators
  Name Description
Public operatorStatic member Addition
Add two Points returning the vector sum.
Public operatorStatic member Division
Divide a vector Point by a scalar.
Public operatorStatic member Equality
Compare two Points for equality.
Public operatorStatic member Inequality
Compare two Points for inequality.
Public operatorStatic member Multiply
Multiply a vector Point by a scalar.
Public operatorStatic member Subtraction
Subtract the components of one Point from another.
Public operatorStatic member UnaryNegation
Unary negative of a vector point.
Top
See Also