Class: Browser::Canvas::Style::Text

Inherits:
Browser::Canvas::StyleObject show all
Defined in:
opal/browser/canvas/style.rb

Instance Attribute Summary collapse

Attributes inherited from Browser::Canvas::StyleObject

#context

Method Summary

Methods inherited from Browser::Canvas::StyleObject

#initialize

Constructor Details

This class inherits a constructor from Browser::Canvas::StyleObject

Instance Attribute Details

#alignObject

Returns the value of attribute align


37
38
39
# File 'opal/browser/canvas/style.rb', line 37

def align
  @align
end

#baselineObject

Returns the value of attribute baseline


37
38
39
# File 'opal/browser/canvas/style.rb', line 37

def baseline
  @baseline
end

#fontObject

Returns the value of attribute font


37
38
39
# File 'opal/browser/canvas/style.rb', line 37

def font
  @font
end