SIMPOL Documentation

fixedpoint

Description

The fixedpoint object is a version of a point containing an x and a y coordinate and which can be read but not altered. This type is one of the base types of the wxgraphic drawing support.

Type Tags

point

Object Value

The value of a fixedpoint object is a unique value that can be used to assign the coordinates of the point to another point object. The fixedpoint object cannot have its value changed by assignment. The value is compatible between point and fixedpoint objects.

fixedpoint.new()

Description

Creates a new fixedpoint object.

Prototype

fixedpoint.new ( integer x, integer y )

Parameters

ParameterDefault valueType nameDescription
xNoneinteger The value that is used for the x coordinate of the object.
yNoneinteger The value that is used for the y coordinate of the object.

Properties

PropertyTypeDescription
typetype Specifies the fixedpoint type object.
xinteger Specifies the x coordinate of the point.
yinteger Specifies the y coordinate of the point.