Condividi tramite


Point Struct

Definition

public value class Point
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.PointTypeConverter))]
public struct Point
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.PointTypeConverter))>]
type Point = struct
Public Structure Point
Inheritance
Point
Attributes

Constructors

Point(Double, Double)
Point(Size)
Point(SizeF)
Point(Vector2)

Fields

Zero

Properties

IsEmpty
X
Y

Methods

Deconstruct(Double, Double)
Distance(Point)
Equals(Object, Double)
Equals(Object)
GetHashCode()
Offset(Double, Double)
Round()
ToString()
TryParse(String, Point)

Operators

Addition(Point, SizeF)
Equality(Point, Point)
Explicit(Point to Size)
Implicit(Point to PointF)
Implicit(Vector2 to Point)
Inequality(Point, Point)
Subtraction(Point, Point)
Subtraction(Point, SizeF)

Extension Methods

Lerp(Point, Point, Double)

Applies to