Class: Sketchup::DimensionLinear
| Relationships | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: | |
| Instance Chain: | |
| Inherits: | Sketchup::Dimension 
 | 
Overview
The DimensionLinear class represents linear dimensions.
Constant Summary
- 
    ALIGNED_TEXT_ABOVE =
    # File 'lib/sketchup-api-stubs/stubs/Sketchup/DimensionLinear.rb', line 11Constants nil
- 
    ALIGNED_TEXT_CENTER =
    # File 'lib/sketchup-api-stubs/stubs/Sketchup/DimensionLinear.rb', line 12Stub value. nil
- 
    ALIGNED_TEXT_OUTSIDE =
    # File 'lib/sketchup-api-stubs/stubs/Sketchup/DimensionLinear.rb', line 13Stub value. nil
- 
    TEXT_CENTERED =
    # File 'lib/sketchup-api-stubs/stubs/Sketchup/DimensionLinear.rb', line 15Stub value. nil
- 
    TEXT_OUTSIDE_END =
    # File 'lib/sketchup-api-stubs/stubs/Sketchup/DimensionLinear.rb', line 16Stub value. nil
- 
    TEXT_OUTSIDE_START =
    # File 'lib/sketchup-api-stubs/stubs/Sketchup/DimensionLinear.rb', line 17Stub value. nil
Dimension - Inherited
  ARROW_CLOSED, ARROW_DOT, ARROW_NONE, ARROW_OPEN, ARROW_SLASH
Instance Attribute Summary
- 
    
      #aligned_text_position  ⇒ Object 
    
    rw
    The aligned_text_position method returns the text position for dimensions with aligned text (i.e. has_aligned_text? returns true). 
- 
    
      #aligned_text_position=(pos)  ⇒ Object 
    
    rw
    The aligned_text_position= method is used to set the text position for dimensions with aligned text (i.e. has_aligned_text? returns true). 
- 
    
      #end  ⇒ Object 
    
    rw
    The end method returns the point or entity the dimension is referencing at its end. 
- 
    
      #end=(pt_or_entity)  ⇒ Object 
    
    rw
    The end= method is used to set the end point of the dimension and/or the entity it is referencing. 
- 
    
      #end_attached_to  ⇒ Array(Sketchup::InstancePath, Geom::Point3d)? 
    
    rw
    The #end_attached_to method will return the attached end point via an array containing the InstancePathand::Geom::Point3d.
- 
    
      #end_attached_to=(path)  
    
    rw
    The #end_attached_to= method will attach the ending point to the InstancePathand::Geom::Point3d.
- 
    
      #offset_vector  ⇒ Object 
    
    rw
    The offset_vector method returns the parallel offset vector from the reference line to the dimension line measured from the ‘start’ reference point. 
- 
    
      #offset_vector=(offset_vector)  
    
    rw
    The offset_vector= method is used to set the parallel offset vector from the reference line to the dimension line measured from the ‘start’ reference point. 
- 
    
      #start  ⇒ Object 
    
    rw
    The start method returns the point or entity the dimension is referencing at its start. 
- 
    
      #start=(pt_or_entity)  ⇒ Object 
    
    rw
    The start= method is used to set the start point of the dimension and/or the entity it is referencing. 
- 
    
      #start_attached_to  ⇒ Array(Sketchup::InstancePath, Geom::Point3d)? 
    
    rw
    The #start_attached_to method will return the attached start point via an array containing the InstancePathand::Geom::Point3d.
- 
    
      #start_attached_to=(path)  
    
    rw
    The #start_attached_to= method will attach the starting point to the InstancePathand::Geom::Point3d.
- 
    
      #text_position  ⇒ Object 
    
    rw
    The text_position method returns the position of the text along the dimension line. 
- 
    
      #text_position=(pos)  ⇒ Object 
    
    rw
    The text_position= method is used to set the position of the text along the dimension line. 
Dimension - Inherited
| #arrow_type | The arrow_type method retrieves the current arrow type of the dimension. | 
| #arrow_type= | The arrow_type= method sets the arrow type of the dimension. | 
| #has_aligned_text= | The has_aligned_text= method accepts true or false indicating whether the dimension’s text is aligned to the dimension or to the screen. | 
| #has_aligned_text? | The has_aligned_text method is used to determine whether the dimension’s text is aligned to the dimension or to the screen. | 
| #text | The text method is used to retrieve the dimension text. | 
| #text= | The text= method is used to set an override on the dimension text. | 
Drawingelement - Inherited
| #casts_shadows= | The casts_shadows= method is used to set the  | 
| #casts_shadows? | The casts_shadows? method is used to determine if the  | 
| #hidden= | The hidden= method is used to set the hidden status for an element. | 
| #hidden? | The hidden? method is used to determine if the element is hidden. | 
| #layer | The layer method is used to retrieve the  | 
| #layer= | The layer= method is used to set the layer for the drawing element. | 
| #material | The material method is used to retrieve the material for the drawing element. | 
| #material= | The material= method is used to set the material for the drawing element. | 
| #receives_shadows= | The receive_shadows= method is used to set the  | 
| #receives_shadows? | The receive_shadows? method is used to determine if the  | 
| #visible= | The visible= method is used to set the visible status for an element. | 
| #visible? | The visible? method is used to get the visible status for an element. | 
Entity - Inherited
Instance Method Summary
Dimension - Inherited
| #add_observer | The add_observer method is used to add a  | 
| #plane | The plane method is used to retrieve the plane of the dimension. | 
| #remove_observer | The remove_observer method is used to remove a  | 
Drawingelement - Inherited
| #bounds | The  | 
| #erase! | The  | 
Entity - Inherited
| #add_observer | The add_observer method is used to add an observer to the current object. | 
| #attribute_dictionaries | The attribute_dictionaries method is used to retrieve the  | 
| #attribute_dictionary | The attribute_dictionary method is used to retrieve an attribute dictionary with a given name that is attached to an  | 
| #delete_attribute | The  | 
| #entityID | The entityID method is used to retrieve a unique ID assigned to an entity. | 
| #get_attribute | The  | 
| #inspect | The  | 
| #model | The model method is used to retrieve the model for the entity. | 
| #parent | The parent method is used to retrieve the parent of the entity. | 
| #persistent_id | The  | 
| #remove_observer | The remove_observer method is used to remove an observer from the current object. | 
| #set_attribute | The set attribute is used to set the value of an attribute in an attribute dictionary with the given name. | 
| #to_s | The  | 
| #typename | The typename method retrieves the type of the entity, which will be a string such as “Face”, “Edge”, or “Group”. | 
Instance Attribute Details
    #aligned_text_position  ⇒ Object  (rw)
  
The aligned_text_position method returns the text position for dimensions with aligned text (i.e. has_aligned_text? returns true). Valid values are class constants:
    #aligned_text_position=(pos)  ⇒ Object  (rw)
  
The aligned_text_position= method is used to set the text position for dimensions with aligned text (i.e. has_aligned_text? returns true). Valid values are class constants:
    #end  ⇒ Object  (rw)
  
The end method returns the point or entity the dimension is referencing at its end.
    #end=(pt_or_entity)  ⇒ Object  (rw)
  
The end= method is used to set the end point of the dimension and/or the entity it is referencing.
#end_attached_to ⇒ Array(Sketchup::InstancePath, Geom::Point3d)? (rw)
The #end_attached_to method will return the attached end point via an array containing the InstancePath and ::Geom::Point3d.
#end_attached_to=(path) (rw)
The #end_attached_to= method will attach the ending point to the InstancePath and ::Geom::Point3d.
    #offset_vector  ⇒ Object  (rw)
  
The offset_vector method returns the parallel offset vector from the reference line to the dimension line measured from the ‘start’ reference point.
#offset_vector=(offset_vector) (rw)
The offset_vector= method is used to set the parallel offset vector from the reference line to the dimension line measured from the ‘start’ reference point.
    #start  ⇒ Object  (rw)
  
The start method returns the point or entity the dimension is referencing at its start.
    #start=(pt_or_entity)  ⇒ Object  (rw)
  
The start= method is used to set the start point of the dimension and/or the entity it is referencing.
#start_attached_to ⇒ Array(Sketchup::InstancePath, Geom::Point3d)? (rw)
The #start_attached_to method will return the attached start point via an array containing the InstancePath and ::Geom::Point3d.
#start_attached_to=(path) (rw)
The #start_attached_to= method will attach the starting point to the InstancePath and ::Geom::Point3d.
    #text_position  ⇒ Object  (rw)
  
The text_position method returns the position of the text along the dimension line. Valid values are class constants:
    #text_position=(pos)  ⇒ Object  (rw)
  
The text_position= method is used to set the position of the text along the dimension line. Valid values are class constants: