Module: Gdsii::Access::Width

Included in:
Path, Text
Defined in:
lib/gdsii/mixins.rb

Overview

Access Width attribute

Instance Method Summary collapse

Instance Method Details

#widthObject

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_recordObject

Get the path width record (returns Record)



138
# File 'lib/gdsii/mixins.rb', line 138

def width_record() @records.get(GRT_WIDTH); end