Struct PointF
Represents a float point in 2D space.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: AGS.API.dll
Syntax
Constructors
|
Improve this Doc
View Source
PointF(Single, Single)
Initializes a new instance of the PointF struct.
Declaration
public PointF(float x, float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
The x coordinate.
|
System.Single |
y |
The y coordinate.
|
Fields
|
Improve this Doc
View Source
Empty
Declaration
public static PointF Empty
Field Value
Properties
|
Improve this Doc
View Source
X
Declaration
Property Value
Type |
Description |
System.Single |
The x.
|
|
Improve this Doc
View Source
Y
Declaration
Property Value
Type |
Description |
System.Single |
The y.
|
Methods
|
Improve this Doc
View Source
Deconstruct(out Single, out Single)
Declaration
public void Deconstruct(out float x, out float y)
Parameters
Type |
Name |
Description |
System.Single |
x |
|
System.Single |
y |
|
|
Improve this Doc
View Source
Equals(PointF)
Declaration
public bool Equals(PointF other)
Parameters
Type |
Name |
Description |
PointF |
other |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
|
Improve this Doc
View Source
Addition(PointF, PointF)
Declaration
public static PointF operator +(PointF p1, PointF p2)
Parameters
Returns
|
Improve this Doc
View Source
Division(PointF, PointF)
Declaration
public static PointF operator /(PointF p1, PointF p2)
Parameters
Returns
|
Improve this Doc
View Source
Division(PointF, Single)
Declaration
public static PointF operator /(PointF p1, float factor)
Parameters
Type |
Name |
Description |
PointF |
p1 |
|
System.Single |
factor |
|
Returns
|
Improve this Doc
View Source
Implicit((Single x, Single y) to PointF)
Declaration
public static implicit operator PointF((float x, float y) point)
Parameters
Type |
Name |
Description |
System.ValueTuple<System.Single, System.Single> |
point |
|
Returns
|
Improve this Doc
View Source
Multiply(PointF, PointF)
Declaration
public static PointF operator *(PointF p1, PointF p2)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(PointF, Single)
Declaration
public static PointF operator *(PointF p1, float factor)
Parameters
Type |
Name |
Description |
PointF |
p1 |
|
System.Single |
factor |
|
Returns
|
Improve this Doc
View Source
Subtraction(PointF, PointF)
Declaration
public static PointF operator -(PointF p1, PointF p2)
Parameters
Returns