class CTioga2::Graphics::Elements::BackgroundElement

Wrapper for the background

Attributes

style[RW]

Public Class Methods

new(parent, opts) click to toggle source
# File lib/ctioga2/graphics/elements/plot-elements.rb, line 74
def initialize(parent, opts)
  setup_style(parent, opts)
  @style = get_style()
end

Public Instance Methods

draw_background(t) click to toggle source
# File lib/ctioga2/graphics/elements/plot-elements.rb, line 79
def draw_background(t)
  @style.draw_background(t)
end