Parent

Methods

Files

PDF::Writer::State

Attributes

fill_color[RW]
stroke_color[RW]
stroke_style[RW]
text_render_style[RW]

Public Class Methods

new(vals = {}) click to toggle source
# File lib/pdf/writer/state.rb, line 18
def initialize(vals = {})
  @fill_color         = vals[:fill_color]
  @stroke_color       = vals[:stroke_color]
  @text_render_style  = vals[:text_render_style]
  @stroke_style       = vals[:stroke_style]

  yield self if block_given?
end

Public Instance Methods

blank?() click to toggle source
# File lib/pdf/writer/state.rb, line 27
def blank?
  @fill_color.nil? and @stroke_color.nil? and @stroke_style.nil?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.