Class: Fox::FXSegment

Inherits:
Object
  • Object
show all
Defined in:
rdoc-sources/FXDC.rb

Overview

Line segment

Instance Attribute Summary collapse

Instance Attribute Details

#x1Object

x-coordinate of the starting point [Integer]



7
8
9
# File 'rdoc-sources/FXDC.rb', line 7

def x1
  @x1
end

#x2Object

x-coordinate of the endpoint [Integer]



13
14
15
# File 'rdoc-sources/FXDC.rb', line 13

def x2
  @x2
end

#y1Object

y-coordinate of the starting point [Integer]



10
11
12
# File 'rdoc-sources/FXDC.rb', line 10

def y1
  @y1
end

#y2Object

y-coordinate of the endpoint [Integer]



16
17
18
# File 'rdoc-sources/FXDC.rb', line 16

def y2
  @y2
end