FixedPoint Members
Include Protected Members
Include Inherited Members
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents a 16.16 fixed-point number.
The FixedPoint type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FixedPoint | Initializes a new instance of the FixedPoint structure using a specified value. |
Top
Methods
Name | Description | |
---|---|---|
CompareTo | Compares this fixed-point number to a value. This class cannot be inherited. | |
Equals | Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object).) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FromFixedInt | Creates a FixedPoint structure with the specified fixed-point value. | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetTypeCode | Returns the underlying TypeCode for this instance. This class cannot be inherited. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Parse | Overloaded. Parses a fixed-point number. | |
ToFixedInt | Returns the internal representation of the current fixed-point number. | |
ToSingle | Converts the current number to a Single. | |
ToString | Overloaded. Converts the current instance to its string representation. |
Top
Operators
Name | Description | |
---|---|---|
Addition | Adds two fixed-point numbers. | |
Decrement | Subtracts 1.0 from the current fixed-point number. | |
Division | Divides two fixed-point numbers. | |
Equality | Tests two fixed-point numbers for equality. | |
GreaterThan | Tests whether a value is greater than another. | |
GreaterThanOrEqual | Tests whether a value is greater than or equal to another. | |
Implicit | Overloaded. Either implicitly converts a Single to a FixedPoint structure, or implicitly converts a FixedPoint structure to a Single. | |
Increment | Adds 1.0 to the current fixed-point number. | |
Inequality | Tests two FixedPoint structures for inequality. | |
LessThan | Tests whether one FixedPoint structure is less than another. | |
LessThanOrEqual | Tests whether one FixedPoint structure is less than or equal to another. | |
Modulus | Computes the remainder value after dividing a FixedPoint value by another FixedPoint value. | |
Multiply | Multiplies two fixed-point numbers. | |
Subtraction | Subtracts two-fixed point numbers. | |
UnaryNegation | Negates a fixed-point number. | |
UnaryPlus | Returns the number unchanged. |
Top
Fields
Name | Description | |
---|---|---|
MaxValue | Represents the largest possible value of a FixedPoint structure. This field is read-only. | |
MinValue | Represents the smallest possible value of a FixedPoint structure. This field is read-only. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IConvertible.ToBoolean | For a description of this member, see IConvertible.ToBoolean. | |
IConvertible.ToByte | For a description of this member, see IConvertible.ToByte. | |
IConvertible.ToChar | For a description of this member, see IConvertible.ToChar. | |
IConvertible.ToDateTime | For a description of this member, see IConvertible.ToDateTime. | |
IConvertible.ToDecimal | For a description of this member, see IConvertible.ToDecimal. | |
IConvertible.ToDouble | For a description of this member, see IConvertible.ToDouble. | |
IConvertible.ToInt16 | For a description of this member, see IConvertible.ToInt16. | |
IConvertible.ToInt32 | For a description of this member, see IConvertible.ToInt32. | |
IConvertible.ToInt64 | For a description of this member, see IConvertible.ToInt64. | |
IConvertible.ToSByte | For a description of this member, see IConvertible.ToSByte. | |
IConvertible.ToString | For a description of this member, see IConvertible.ToString. | |
IConvertible.ToType | For a description of this member, see IConvertible.ToType. | |
IConvertible.ToUInt16 | For a description of this member, see IConvertible.ToUInt16. | |
IConvertible.ToUInt32 | For a description of this member, see IConvertible.ToUInt32. | |
IConvertible.ToUInt64 | For a description of this member, see IConvertible.ToUInt64. |
Top