Class: SDC::DrawShapeLine
- Defined in:
- engine_docs/automatic_doc_DrawShapeLine.rb,
 engine_docs/automatic_doc_DrawShapeLine.rb
Overview
Drawing shape class for a line
Instance Attribute Summary collapse
- 
  
    
      #line  ⇒ Coordinates 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Line parameter vector. 
Attributes inherited from DrawShape
#fill_color, #origin, #outline_color, #outline_thickness, #position, #rotation, #scale, #texture_rect
Instance Method Summary collapse
- 
  
    
      #get_from(collision_shape)  ⇒ nil 
    
    
  
  
  
  
  
  
  
  
  
    Copies properties from the given shape to this shape. 
- 
  
    
      #initialize  ⇒ DrawShapeLine 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    Creates an empty line shape. 
Methods inherited from DrawShape
Constructor Details
#initialize ⇒ DrawShapeLine
Creates an empty line shape
|  | # File 'engine_docs/automatic_doc_DrawShapeLine.rb', line 9
 | 
Instance Attribute Details
#line ⇒ Coordinates
Line parameter vector
|  | # File 'engine_docs/automatic_doc_DrawShapeLine.rb', line 14
 | 
Instance Method Details
#get_from(collision_shape) ⇒ nil
Copies properties from the given shape to this shape
|  | # File 'engine_docs/automatic_doc_DrawShapeLine.rb', line 18
 |