PNG::RGBA(T)
Inherits PNG::Color / Indexable::Mutable / Indexable / Enumerable / Iterable / Struct / Value / Object
Constructors
new(r : T, g : T, b : T, a : T)
Sourcenew(r : T, g : T, b : T)
Sourcenew(channels : StaticArray(T, N))
SourceClass methods
[](r : T, g : T, b : T, a : T)
Sourcecolor_type
SourceInstance methods
a=(value : T)
Sourceb=(value : T)
Sourceg=(value : T)
Sourcer=(value : T)
Sourceto_rgb8
Sourceto_u16
Sourceto_u32
Sourceto_u8
Source