Class: DynamicPDFApi::PngColorFormat

Inherits:
ColorFormat show all
Defined in:
lib/ruby_client/Imaging/PngColorFormat.rb

Overview

Base class for PNG color formats, used for RGB, RGBA, and Grayscale color formats.

Instance Attribute Summary

Attributes inherited from ColorFormat

#type

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ PngColorFormat

Initializes a new instance of the PngColorFormat class.

Parameters:



14
15
16
# File 'lib/ruby_client/Imaging/PngColorFormat.rb', line 14

def initialize(type)
  @type = type
end