Skip to content

XUIColors

Description

This module contains helper methods for dealing with the Xojo Color class.

Methods

Name Parameters Returns
FromRGBAString s As String Color

Method Descriptions

FromRGBAString(s As String) As Color

Returns a Xojo Color created from an RGBA hex string s. Raises an InvalidArgumentException if s is not valid.

Valid string formats are: "RGB", "RGBA", "RRGGBB" and "RRGGBBAA"