Class: Mlr::AnchorPoint2D

Inherits:
Struct
  • Object
show all
Defined in:
lib/mlr.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#distanceObject

Returns the value of attribute distance

Returns:

  • (Object)

    the current value of distance



11
12
13
# File 'lib/mlr.rb', line 11

def distance
  @distance
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



11
12
13
# File 'lib/mlr.rb', line 11

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



11
12
13
# File 'lib/mlr.rb', line 11

def y
  @y
end

Instance Method Details

#zObject



12
# File 'lib/mlr.rb', line 12

def z; 0; end