wxRuby Documentation Home

Wx::Point

A Point is a useful data structure for graphics operations. It simply contains integer x_ and _y members.

See also RealPoint for a floating point version.

Derived from

None

See also

RealPoint

Methods

Point.new

Point.new(Integer x,  Integer y)

Create a point.

Point#x

intx

x member.

Point#y

int y

y member.

Point#==

Boolean operator $==$(Point pt)

Equality operator: returns if two points are the same.

Point#!=

Boolean operator $!=$(Point pt)

Inequality operator: returns if two points are different.

[This page automatically generated from the Textile source at Thu Aug 28 20:29:15 +0100 2008]