[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Chart.Graphics.Point2d

Point2d Class

Represents an ordered pair of integer x- and y-coordinates that defines a point in a 2D plane.

Inheritance
Point2d
Namespace: GrapeCity.ActiveReports.Chart.Graphics
Assembly: MESCIUS.ActiveReports.Chart.dll
Syntax
[TypeConverter(typeof(Point2d.Converter))]
public sealed class Point2d : Item, IGraphItem, ICloneable, IGraphXmlSerializable

Constructors

Name Description
Point2d()

Initializes new instance of the Point2d class.

Point2d(PointF)

Initializes new instance of the Point2d class

Point2d(float, float)

Initializes new instance of the Point2d class.

Point2d(string)

For internal use only.

Point2d(string, GraphXmlSerializationContext)

For internal use only.

Properties

Name Description
IsDirty

Overridden

Item.IsDirty
. Specifies whether object should be redrawn.
Length

Gets vector length

X

Gets or sets point's x coordinate

Y

Gets or sets point's y coordinate

Methods

Name Description
Clone()

Overridden

Item.Clone
.
Equals(object)

Compare the CLASS_NAME object to another System.Object and check if the two are equal.

GetHashCode()

It functions as a hash function for a particular type. It is suitable for use in data structures such as hash algorithm and hash table.

ToString()

Converts the value of the current instance to string representation.

Operators

Name Description
operator ==(Point2d, Point2d)

Checks whether two given Point2d are equal.

implicit operator PointF(Point2d)

Implicit conversion to

PointF
.
implicit operator Point2d(PointF)

Implicit conversion to

PointF
.
operator !=(Point2d, Point2d)

Checks whether two given Point2d are different.