Skip to content

tWebPoint

See Also: tWebDrawingEventData, tWebDrawingResizetData, tWebSize, Declaring Variables, Struct, Float

Purpose

tWebPoint is a structured type that is used to represent information about the point of a shape used in the cWebDrawing class.

You can use the XYPoint function to initialize a tWebPoint struct.

Type Declaration

Struct tWebPoint
    Float fX
    Float fY
End_Struct

Struct Members

  • fX: The X coordinate of the point.
  • fY: The Y coordinate of the point.

Syntax

Use cWebDrawing.pkg

tWebPoint {variableName}

Declaring Variables

To declare tWebPoint variables, use the name of the type (tWebPoint) followed by the variable name.

tWebPoint MyShape

See struct variables for more details on instantiating struct types.