struct

PNG::PixelSize

Inherits Struct / Value / Object

Constructors

new(x : UInt32, y : UInt32, meters : Bool = false)
Source

Class methods

parse(io : IO)
Source

Instance methods

meters=(meters : Bool)

When true, x and y represent how many pixels are in a meter. When false, x and y represent the aspect ratio of a pixel

Source
meters?

When true, x and y represent how many pixels are in a meter. When false, x and y represent the aspect ratio of a pixel

Source
write(io : IO)
Source
x=(x : UInt32)
Source
y=(y : UInt32)
Source