module Gdsii::Access::Layer

Access layer attribute

Public Instance Methods

layer() click to toggle source

Get the layer number (returns Fixnum)

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

Set the layer number

# File lib/gdsii/mixins.rb, line 22
def layer=(val) @records.set(GRT_LAYER, val); end
layer_record() click to toggle source

Get the layer record (returns Record)

# File lib/gdsii/mixins.rb, line 16
def layer_record() @records.get(GRT_LAYER); end