RedVector2D:
Filter:
redUniverse/Classes (extension) | Red > redUniverse

RedVector2D
ExtensionExtension

a vector with two dimensions

Description

This is an optimised version of RedVector. It also adds the -asPoint method.

Instance Methods

.asPoint

Return a Point.

NOTE: This is unique for RedVector2D and is not implemented for the other RedVector classes.

Examples