from_hexadecimal


Description:

public static bool from_hexadecimal (string hexadecimal, out Color color)

Parses hexadecimal and returns a Color describing it in color.

hexadecimal should be in the form typeof (unichar2) rrggbb, where rr is a two-digit hexadecimal red intensity value, gg is green and bb is blue. The hash is optional.

Parameters:

hexadecimal

a hexadecimal color string

color

a Color

Returns:

true on success, false otherwise




2022 vala-language.org