Module: Gdsii::Access::Width
Overview
Access Width attribute
Instance Method Summary collapse
-
#width ⇒ Object
Get the path width value (returns Fixnum).
-
#width=(val) ⇒ Object
Set the path width value (as Fixnum).
-
#width_record ⇒ Object
Get the path width record (returns Record).
Instance Method Details
#width ⇒ Object
Get the path width value (returns Fixnum). The width value is multiplied with the UNITS value of the library to obtain the actual width.
144 |
# File 'lib/gdsii/mixins.rb', line 144 def width() @records.get_data(GRT_WIDTH); end |
#width=(val) ⇒ Object
Set the path width value (as Fixnum). The width value is multiplied with the UNITS value of the library and magnification factor to obtain the actual width. If the width value is negative, then the value is interpreted to be absolute and will not be affected by the database units or magnification factor.
153 |
# File 'lib/gdsii/mixins.rb', line 153 def width=(val) @records.set(GRT_WIDTH, val); end |
#width_record ⇒ Object
Get the path width record (returns Record)
138 |
# File 'lib/gdsii/mixins.rb', line 138 def width_record() @records.get(GRT_WIDTH); end |