Class: TD::Types::Point
- Defined in:
- lib/tdlib/types/point.rb
Overview
A point on a Cartesian plane.
Instance Attribute Summary collapse
-
#x ⇒ Float
The point’s first coordinate.
-
#y ⇒ Float
The point’s second coordinate.
Method Summary
Methods inherited from Base
Instance Attribute Details
#x ⇒ Float
The point’s first coordinate.
6 7 8 |
# File 'lib/tdlib/types/point.rb', line 6 def x @x end |
#y ⇒ Float
The point’s second coordinate.
6 7 8 |
# File 'lib/tdlib/types/point.rb', line 6 def y @y end |