Point2D {Microsoft.VisualBasic.Imaging.LayoutModel} .NET clr documentation

Point2D

Description

Implements a 2-dimensional point with double precision coordinates.

这个数据对象主要是用来储存作图的原始数据 因为如果作图的原始数据值很高的话,往往会超过single的上限,所以会需要使用double 类型的数据进行存储,在经过绘图函数的scale之后,就可以转换为pointf对象进行作图了

Declare

            
# namespace Microsoft.VisualBasic.Imaging.LayoutModel
export class Point2D {
   # Returns the coordinates as a new point.
   Point: Point;
   PointF: PointF;
   # Returns the x-coordinate of the point.
   X: double;
   # Returns the x-coordinate of the point.
   Y: double;
}

        

.NET clr type reference tree

  1. use by property member Point: Point
  2. use by property member PointF: PointF

[Package {$package} version {$version} Index]