Point Структура
Определение
Представляет пару координат X и Y в двухмерном пространстве.Represents an x- and y-coordinate pair in two-dimensional space. В соответствующих контекстах может также представлять логическую точку.Can also represent a logical point for certain property usages.
public value class Point : IFormattable
[System.Security.SecurityCritical]
public struct Point : IFormattable
type Point = struct
interface IFormattable
Public Structure Point
Implements IFormattable
- Наследование
- Атрибуты
- Реализации
Комментарии
Представляет проекцию .NET структуры среда выполнения Windows (WinRT) Point
.This represents the .NET projection of the Windows Runtime (WinRT) Point
struct. Дополнительные сведения см. в разделе Справочник по API UWP.For more information, see Point in the UWP API reference.
Конструкторы
Point(Double, Double) |
Инициализирует структуру Point, содержащую заданные значения.Initializes a Point struct that contains the specified values. |
Свойства
X |
Возвращает или задает значение координаты X этой структуры Point.Gets or sets the X-coordinate value of this Point struct. |
Y |
Получает или задает значение координаты Y данной структуры Point.Gets or sets the Y-coordinate value of this Point. |
Методы
Equals(Object) |
Определяет, является ли указанный объект Point и содержит ли он те же значения, что данный объект Point.Determines whether the specified object is a Point and whether it contains the same values as this Point. |
Equals(Point) |
Сравнивает две структуры Point на равенство.Compares two Point structs for equality. |
GetHashCode() |
Возвращает хэш-код для модуля чтения данных Point.Returns the hash code for this Point. |
ToString() |
Создает представление String данного объекта Point.Creates a String representation of this Point. |
ToString(IFormatProvider) |
Создает представление String этого объекта Point с учетом сведений о форматировании, связанных с определенными языком и региональными параметрами.Creates a String representation of this Point using the specified culture-specific formatting information.. |
Операторы
Equality(Point, Point) |
Сравнивает две структуры Point на равенство.Compares two Point structs for equality. |
Inequality(Point, Point) |
Сравнивает две структуры Point на предмет их неравенства.Compares two Point structs for inequality. |
Явные реализации интерфейса
IFormattable.ToString(String, IFormatProvider) |
Описание этого члена см. в разделе ToString(String, IFormatProvider).For a description of this member, see ToString(String, IFormatProvider). |
Методы расширения
ToVector2(Point) |