alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Struct PointF

    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Syncfusion.Drawing
    Assembly: Syncfusion.Compression.NET.dll
    Syntax
    public struct PointF

    Constructors

    PointF(float, float)

    Initializes a new instance of the PointF class.

    Declaration
    public PointF(float x, float y)
    Parameters
    Type Name Description
    float x

    The x.

    float y

    The y.

    Fields

    Empty

    Declaration
    public static readonly PointF Empty
    Field Value
    Type
    PointF

    Properties

    X

    Gets or sets the X.

    Declaration
    public float X { get; set; }
    Property Value
    Type Description
    float

    The X.

    Y

    Gets or sets the Y.

    Declaration
    public float Y { get; set; }
    Property Value
    Type Description
    float

    The Y.

    Methods

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    ValueType.Equals(object)
    Exceptions
    Type Condition
    NullReferenceException

    The obj parameter is null.

    GetHashCode()

    Serves as a hash function for a particular type.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    ValueType.GetHashCode()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    ValueType.ToString()

    Operators

    operator ==(PointF, PointF)

    Declaration
    public static bool operator ==(PointF point1, PointF point2)
    Parameters
    Type Name Description
    PointF point1
    PointF point2
    Returns
    Type
    bool

    implicit operator PointF(Point)

    Declaration
    public static implicit operator PointF(Point point)
    Parameters
    Type Name Description
    Point point
    Returns
    Type
    PointF

    operator !=(PointF, PointF)

    Declaration
    public static bool operator !=(PointF point1, PointF point2)
    Parameters
    Type Name Description
    PointF point1
    PointF point2
    Returns
    Type
    bool
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved