Class: Java::javafx::geometry::Point2D

Inherits:
Object
  • Object
show all
Defined in:
lib/jrubyfx/core_ext/geometry.rb

Overview

JRubyFX DSL extensions for JavaFX Paths

Instance Method Summary collapse

Instance Method Details

#to_aObject



21
22
23
# File 'lib/jrubyfx/core_ext/geometry.rb', line 21

def to_a
  [x,y]
end

#to_aryObject



24
25
26
# File 'lib/jrubyfx/core_ext/geometry.rb', line 24

def to_ary
  [x,y]
end