struct PNG::HSV
- PNG::HSV
- PNG::Color(Float64, 3)
- Struct
- Value
- Object
Defined in:
png/colors/hsv.crConstructors
Class Method Summary
Instance Method Summary
-
#dist(other)
Get the Euclidean distance between self and other
- #h
- #h=(value : T)
- #s
- #s=(value : T)
-
#to_s(io : IO)
Same as
#inspect(io)
. - #to_u16
- #to_u32
- #to_u8
- #v
- #v=(value : T)
Instance methods inherited from struct PNG::Color(Float64, 3)
==(other)
==,
[](*args, **options)[](*args, **options, &) [], []=(*args, **options) []=, bytesize bytesize, channels : StaticArray(T, N) channels, channels=(channels : StaticArray(T, N)) channels=, each(*args, **options)
each(*args, **options, &) each, num_channels num_channels, size(*args, **options)
size(*args, **options, &) size, to_bytes to_bytes, to_slice to_slice, unsafe_fetch(*args, **options)
unsafe_fetch(*args, **options, &) unsafe_fetch, unsafe_put(*args, **options)
unsafe_put(*args, **options, &) unsafe_put