Class: Pdfrb::Model::Type::HalftoneType10

Inherits:
HalftoneType6 show all
Defined in:
lib/pdfrb/model/type/halftone_type10.rb

Overview

Type 10 halftone: mesh-based continuous-tone (PDF 1.4+, mostly used for non-square pixel grids).

Direct Known Subclasses

HalftoneType16

Instance Attribute Summary

Attributes inherited from Object

#document, #gen, #oid, #value

Instance Method Summary collapse

Methods inherited from HalftoneType6

#height, #height2, #transfer_function, #width, #width2

Methods inherited from Halftone

#halftone_name, #halftone_type, #type10?, #type16?, #type1?, #type5?, #type6?

Methods inherited from Cos::Dictionary

#[], #[]=, arlington_available?, arlington_default, arlington_key_to_symbol, arlington_loaded_for?, arlington_mark_loaded, arlington_object, arlington_one_type_to_ruby, arlington_required?, arlington_types_to_ruby, arlington_version, define_field, define_field_from_arlington, #delete, #each, each_field, #each_raw, #empty?, field, #initialize, #key?, #keys, lookup_type, own_fields, #pdf_type, register_type, type_map, #validate

Methods inherited from Object

#==, define_type, #deref, #indirect?, #initialize, #must_be_indirect?, #pdf_type, pdf_type

Constructor Details

This class inherits a constructor from Pdfrb::Model::Cos::Dictionary

Instance Method Details

#center_xObject



11
# File 'lib/pdfrb/model/type/halftone_type10.rb', line 11

def center_x; self[:CenterX]; end

#center_yObject



12
# File 'lib/pdfrb/model/type/halftone_type10.rb', line 12

def center_y; self[:CenterY]; end

#xsquarestepObject



9
# File 'lib/pdfrb/model/type/halftone_type10.rb', line 9

def xsquarestep; self[:Xsquarestep]; end

#ysquarestepObject



10
# File 'lib/pdfrb/model/type/halftone_type10.rb', line 10

def ysquarestep; self[:Ysquarestep]; end