Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / Point2D Structure
Fields Properties Methods

In This Topic
    Point2D Structure Members
    In This Topic

    The following tables list the members exposed by Point2D.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)An empty point.  
    Public FieldThe size of the Point2D type, in bytes.  
    Public FieldThe X coordinate of the point.  
    Public FieldThe Y coordinate of the point.  
    Top
    Public Properties
     NameDescription
    Public PropertyDetermines if all components of Point2D are equal to zero.  
    Top
    Public Methods
     NameDescription
    Public MethodGets the distance to the given point.  
    Public MethodGets the square of the distance to the given point.  
    Public MethodOverloaded. Indicates whether this instance and a specified object are equal.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Converts a point from DIPs to pixels.  
    Public MethodReturns a hash code for this instance.  
    Public MethodOverloaded. Offsets the point by the specified amount.  
    Public MethodReturns a Point2L with rounded X and Y coordinates.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Scales X and Y coordinates of a point by the specified scaleFactor.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Converts a point from pixels to DIPs.  
    Public MethodConverts Point2D to Point2F.  
    Public MethodConverts Point2D to System.Drawing.PointF.  
    Public MethodReturns a string that represents the current object.  
    Public MethodReturns a Point2L with truncated X and Y coordinates.  
    Top
    Public Operators
    Overloaded. Returns the result of addition of size to point.
    Determines if the specified values are equal.
    Determines if the specified values are not equal.
    Overloaded. Returns the result of substruction of size from point.
    Top
    See Also