Skip to main content

PixelPoint Methods

Methods

Equals(Object)Checks for equality between a point and an object.
(Overrides ValueType.Equals(Object))
Equals(PixelPoint)Returns a boolean indicating whether the point is equal to the other given point.
FromPoint(Point, Vector)Converts a Point to device pixels using the specified scaling factor.
FromPoint(Point, Double)Converts a Point to device pixels using the specified scaling factor.
FromPointWithDpi(Point, Vector)Converts a Point to device pixels using the specified dots per inch (DPI).
FromPointWithDpi(Point, Double)Converts a Point to device pixels using the specified dots per inch (DPI).
GetHashCode()Returns a hash code for a PixelPoint.
(Overrides ValueType.GetHashCode())
GetType()Gets the Type of the current instance.
(Inherited from Object)
Parse(String)Parses a PixelPoint string.
ToPoint(Double)Converts the PixelPoint to a device-independent Point using the specified scaling factor.
ToPoint(Vector)Converts the PixelPoint to a device-independent Point using the specified scaling factor.
ToPointWithDpi(Double)Converts the PixelPoint to a device-independent Point using the specified dots per inch (DPI).
ToPointWithDpi(Vector)Converts the PixelPoint to a device-independent Point using the specified dots per inch (DPI).
ToString()Returns the string representation of the point.
(Overrides ValueType.ToString())
WithX(Int32)Returns a new PixelPoint with the same Y co-ordinate and the specified X co-ordinate.
WithY(Int32)Returns a new PixelPoint with the same X co-ordinate and the specified Y co-ordinate.

See Also

Reference

PixelPoint Structure
Avalonia Namespace