Class: Hokusai::Font
- Inherits:
-
Object
show all
- Defined in:
- ui/src/hokusai/font.rb
Instance Method Summary
collapse
Instance Method Details
#clamp(text, size, width, initial_offset = 0.0) ⇒ Object
3
4
5
|
# File 'ui/src/hokusai/font.rb', line 3
def clamp(text, size, width, initial_offset = 0.0)
raise Hokusai::Error.new("Font #clamp not implemented")
end
|
#clamp_markdown(text, size, width, initial_offset = 0.0) ⇒ Object
7
8
9
|
# File 'ui/src/hokusai/font.rb', line 7
def clamp_markdown(text, size, width, initial_offset = 0.0)
raise Hokusai::Error.new("Font #clamp not implemented")
end
|
#height ⇒ Object
11
12
13
|
# File 'ui/src/hokusai/font.rb', line 11
def height
raise Hokusai::Error.new("Font #height not implemented")
end
|