Class: DynamicPDFApi::PngColorFormat
- Inherits:
-
ColorFormat
- Object
- ColorFormat
- DynamicPDFApi::PngColorFormat
- Defined in:
- lib/ruby_client/Imaging/PngColorFormat.rb
Overview
Base class for PNG color formats, used for RGB, RGBA, and Grayscale color formats.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from ColorFormat
Instance Method Summary collapse
-
#initialize(type) ⇒ PngColorFormat
constructor
Initializes a new instance of the PngColorFormat class.
Constructor Details
#initialize(type) ⇒ PngColorFormat
Initializes a new instance of the PngColorFormat class.
14 15 16 |
# File 'lib/ruby_client/Imaging/PngColorFormat.rb', line 14 def initialize(type) @type = type end |