Class: Pdfrb::Content::ColorSpace::Pattern
- Inherits:
-
Object
- Object
- Pdfrb::Content::ColorSpace::Pattern
- Defined in:
- lib/pdfrb/content/color_space.rb
Instance Attribute Summary collapse
-
#base_space ⇒ Object
readonly
Returns the value of attribute base_space.
Instance Method Summary collapse
- #components ⇒ Object
- #family ⇒ Object
-
#initialize(base_space: nil) ⇒ Pattern
constructor
A new instance of Pattern.
Constructor Details
#initialize(base_space: nil) ⇒ Pattern
Returns a new instance of Pattern.
147 148 149 |
# File 'lib/pdfrb/content/color_space.rb', line 147 def initialize(base_space: nil) @base_space = base_space end |
Instance Attribute Details
#base_space ⇒ Object (readonly)
Returns the value of attribute base_space.
145 146 147 |
# File 'lib/pdfrb/content/color_space.rb', line 145 def base_space @base_space end |
Instance Method Details
#components ⇒ Object
152 |
# File 'lib/pdfrb/content/color_space.rb', line 152 def components; 0; end |
#family ⇒ Object
151 |
# File 'lib/pdfrb/content/color_space.rb', line 151 def family; :Pattern; end |