class CTioga2::Graphics::Elements::TitleElement

Wrapper for the title

Attributes

style[RW]

Public Class Methods

new(parent, opts) click to toggle source
# File lib/ctioga2/graphics/elements/plot-elements.rb, line 61
def initialize(parent, opts)
  setup_style(parent, opts)
  @style = Styles::TextLabel.new(nil, Types::PlotLocation.new(:top))
  update_style(@style)
end