module Gdsii::Access::Width

Access Width attribute

Public Instance Methods

width() click to toggle source

Get the path width value (returns Fixnum). The width value is multiplied with the UNITS value of the library to obtain the actual width.

# File lib/gdsii/mixins.rb, line 144
def width() @records.get_data(GRT_WIDTH); end
width=(val) click to toggle source

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.

# File lib/gdsii/mixins.rb, line 153
def width=(val) @records.set(GRT_WIDTH, val); end
width_record() click to toggle source

Get the path width record (returns Record)

# File lib/gdsii/mixins.rb, line 138
def width_record() @records.get(GRT_WIDTH); end