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