Module: Gdsii::Access::XY

Included in:
Boundary, Box, Node, Path, SRef, Text
Defined in:
lib/gdsii/mixins.rb

Overview

Access XY attribute

Instance Method Summary collapse

Instance Method Details

#xyObject

Gets an xy point record (returns an Array)



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

def xy() @records.get_data(GRT_XY); end

#xy=(val) ⇒ Object

Sets an xy point record



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

def xy=(val) @records.set(GRT_XY, val); end

#xy_recordObject

Gets an xy point record (returns Record)



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

def xy_record() @records.get(GRT_XY); end