class StumpyJPEG::Segment::SOF
- StumpyJPEG::Segment::SOF
- StumpyJPEG::Segment
- Reference
- Object
Defined in:
stumpy_jpeg/segment/sof.crConstructors
Class Method Summary
Instance Method Summary
- #bit_precision : Int32
- #components : Array(Component::Definition)
- #height : Int32
- #length
- #number_of_components : Int32
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
- #width : Int32
Instance methods inherited from class StumpyJPEG::Segment
marker : UInt8
marker,
to_s(io : IO)
to_s
Constructor methods inherited from class StumpyJPEG::Segment
new(marker : UInt8)
new
Constructor Detail
def self.new(n, bit_precision : Int32, height : Int32, width : Int32, number_of_components : Int32, components : Array(StumpyJPEG::Component::Definition))
#
Class Method Detail
Instance Method Detail
def to_s(io : IO)
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>