Bases: Enum
        Enum to show the supported attributes that can be edited using Area.attr(k, v)
              
                Source code in AoE2ScenarioParser/objects/support/area.py
                36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54  | class AreaAttr(Enum):
    """Enum to show the supported attributes that can be edited using ``Area.attr(k, v)``"""
    X1 = "x1"
    Y1 = "y1"
    X2 = "x2"
    Y2 = "y2"
    GAP_SIZE = "gap_size"
    GAP_SIZE_X = "gap_size_x"
    GAP_SIZE_Y = "gap_size_y"
    LINE_WIDTH = "line_width"
    LINE_WIDTH_X = "line_width_x"
    LINE_WIDTH_Y = "line_width_y"
    AXIS = "axis"
    CORNER_SIZE = "corner_size"
    CORNER_SIZE_X = "corner_size_x"
    CORNER_SIZE_Y = "corner_size_y"
    BLOCK_SIZE = "block_size"
    BLOCK_SIZE_X = "block_size_x"
    BLOCK_SIZE_Y = "block_size_y"
  | 
 
               
    
    
 
Attributes
  
  
  
AXIS = 'axis'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'axis'                
  
              
            
  
 
  
  
BLOCK_SIZE = 'block_size'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'block_size'                
  
              
            
  
 
  
  
BLOCK_SIZE_X = 'block_size_x'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'block_size_x'                
  
              
            
  
 
  
  
BLOCK_SIZE_Y = 'block_size_y'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'block_size_y'                
  
              
            
  
 
  
  
CORNER_SIZE = 'corner_size'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'corner_size'                
  
              
            
  
 
  
  
CORNER_SIZE_X = 'corner_size_x'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'corner_size_x'                
  
              
            
  
 
  
  
CORNER_SIZE_Y = 'corner_size_y'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'corner_size_y'                
  
              
            
  
 
  
  
GAP_SIZE = 'gap_size'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'gap_size'                
  
              
            
  
 
  
  
GAP_SIZE_X = 'gap_size_x'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'gap_size_x'                
  
              
            
  
 
  
  
GAP_SIZE_Y = 'gap_size_y'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'gap_size_y'                
  
              
            
  
 
  
  
LINE_WIDTH = 'line_width'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'line_width'                
  
              
            
  
 
  
  
LINE_WIDTH_X = 'line_width_x'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'line_width_x'                
  
              
            
  
 
  
  
LINE_WIDTH_Y = 'line_width_y'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'line_width_y'                
  
              
            
  
 
  
  
X1 = 'x1'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'x1'                
  
              
            
  
 
  
  
X2 = 'x2'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'x2'                
  
              
            
  
 
  
  
Y1 = 'y1'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'y1'                
  
              
            
  
 
  
  
Y2 = 'y2'
  
      class-attribute
      instance-attribute
  
                
                        Value:
'y2'