Summary
Defines a vector.
- Namespace
- Avalonia
- Base Types
-
- object
- ValueType
graph BT
Type-->Base0["ValueType"]
Base0-->Base1["object"]
Type["PixelVector"]
class Type type-node
Syntax
public readonly struct PixelVector : ValueType
Constructors
Name | Summary |
---|---|
PixelVector |
Initializes a new instance of the PixelVector structure.
|
Properties
Methods
Name | Value | Summary |
---|---|---|
Equals |
bool | |
Equals |
bool |
Check if two vectors are equal (bitwise).
|
GetHashCode |
int | |
NearlyEquals |
bool |
Check if two vectors are nearly equal (numerically).
|
ToString |
string |
Returns the string representation of the point.
|
WithX |
PixelVector |
Returns a new vector with the specified X coordinate.
|
WithY |
PixelVector |
Returns a new vector with the specified Y coordinate.
|
Operators
Name | Value | Summary |
---|---|---|
explicit operator |
PixelPoint | |
operator != |
bool | |
operator - |
PixelVector | |
operator - |
PixelVector | |
operator * |
PixelVector | |
operator * |
int | |
operator / |
PixelVector | |
operator + |
PixelVector | |
operator == |
bool |