struct PNG::PixelSize
- PNG::PixelSize
- Struct
- Value
- Object
Defined in:
png/pixel_size.crConstructors
Class Method Summary
Instance Method Summary
-
#meters=(meters : Bool)
When true, x and y represent how many pixels are in a meter.
-
#meters? : Bool
When true, x and y represent how many pixels are in a meter.
- #write(io : IO)
- #x : UInt32
- #x=(x : UInt32)
- #y : UInt32
- #y=(y : UInt32)
Constructor Detail
Class Method Detail
Instance Method Detail
def 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
def 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