Class: Three::Font

Inherits:
Object
  • Object
show all
Defined in:
lib/three/loaders/font_loader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(handle) ⇒ Font

Returns a new instance of Font.



9
10
11
# File 'lib/three/loaders/font_loader.rb', line 9

def initialize(handle)
  @handle = handle
end

Instance Attribute Details

#handleObject (readonly)

Returns the value of attribute handle.



7
8
9
# File 'lib/three/loaders/font_loader.rb', line 7

def handle
  @handle
end