class DFL::Graphic
- DFL::Graphic
- Reference
- Object
Overview
A DFL::Head's graphic data
Included Modules
Defined in:
D_File/dfl/graphic.crwrite.cr
Constructors
- 
        .from_image(image : Raylib::Image) : Graphic
        
          Converts a Raylib::Image to a graphic 
- 
        .read(io : IO) : Graphic
        
          Reads in a dfl graphic given the io 
Instance Method Summary
- 
        #data : Array(Color | Nil)
        
          The image data 
- 
        #data=(data : Array(Color | Nil))
        
          The image data 
- 
        #height : UInt32
        
          The height of the image 
- 
        #height=(height : UInt32)
        
          The height of the image 
- 
        #to_image : Raylib::Image
        
          Converts a graphic to a Raylib::Image 
- 
        #width : UInt32
        
          The width of the image 
- 
        #width=(width : UInt32)
        
          The width of the image 
Instance methods inherited from module WritingMethods::DFL::Graphic
  
  
    
      write(io : IO)
    write
    
  
    
    
  
    
    
    
  
    
    
    
  
Constructor Detail
Converts a Raylib::Image to a graphic