Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Color; missing toRGB() / toARGB() function #345

Open
kevinresol opened this issue Jan 14, 2016 · 0 comments
Open

Color; missing toRGB() / toARGB() function #345

kevinresol opened this issue Jan 14, 2016 · 0 comments

Comments

@kevinresol
Copy link
Contributor

function toRGB():Int
    return Std.int(r * 255) << 16 | Std.int(g * 255) << 8 | Std.int(b * 255);

function toARGB():Int
    return Std.int(a * 255) << 24 | Std.int(r * 255) << 16 | Std.int(g * 255) << 8 | Std.int(b * 255);
@ruby0x1 ruby0x1 changed the title luxe.Color missing toRGB() / toARGB() function Color; missing toRGB() / toARGB() function Feb 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant