Click or drag to resize

Point Class (Typed)

X#
Create a point, which is used to describe a location on the canvas of a window.
Inheritance Hierarchy
Object
  VObject
    Pair
      Point

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 CLASS Point INHERIT Pair
Request Example View Source

The Point type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyEmpty
Is the pair empty ?(both values equal to 0)
(Inherited from Pair.)
Public propertyX
An integer representing this point's x coordinate.
Public propertyY
An integer representing this point's y coordinate.
Top
Functions
  NameDescription
Public methodDestroy
Free memory resources allocated for a VObject object and its derived objects.
(Inherited from VObject.)
Public methodGetHashCode (Inherited from Pair.)
Top
Globals and Defines
  NameDescription
Public fieldoCargo
Cargo slot.
(Inherited from VObject.)
Top
Remarks
The Point class does not interpret the coordinates—whether they are screen or canvas coordinates is context-dependent.
Examples
For an example using the Point class, refer to the ResourceFile class example.
See Also