Class: Fox::FXSegment
- Inherits:
-
Object
- Object
- Fox::FXSegment
- Defined in:
- rdoc-sources/FXDC.rb
Overview
Line segment
Instance Attribute Summary collapse
-
#x1 ⇒ Object
x-coordinate of the starting point [Integer].
-
#x2 ⇒ Object
x-coordinate of the endpoint [Integer].
-
#y1 ⇒ Object
y-coordinate of the starting point [Integer].
-
#y2 ⇒ Object
y-coordinate of the endpoint [Integer].
Instance Attribute Details
#x1 ⇒ Object
x-coordinate of the starting point [Integer]
7 8 9 |
# File 'rdoc-sources/FXDC.rb', line 7 def x1 @x1 end |
#x2 ⇒ Object
x-coordinate of the endpoint [Integer]
13 14 15 |
# File 'rdoc-sources/FXDC.rb', line 13 def x2 @x2 end |
#y1 ⇒ Object
y-coordinate of the starting point [Integer]
10 11 12 |
# File 'rdoc-sources/FXDC.rb', line 10 def y1 @y1 end |
#y2 ⇒ Object
y-coordinate of the endpoint [Integer]
16 17 18 |
# File 'rdoc-sources/FXDC.rb', line 16 def y2 @y2 end |