Class: Vedeu::XCoordinate Private
- Inherits:
-
Object
- Object
- Vedeu::XCoordinate
- Defined in:
- lib/vedeu/support/x_coordinate.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Provide delegation methods for Vedeu::Geometries::Geometry.
Instance Attribute Summary collapse
- #geometry ⇒ Vedeu::Geometries::Geometry readonly protected private
Instance Method Summary collapse
-
#bd ⇒ Fixnum
(also: #bx)
private
Return the :bx value from the geometry.
-
#bdn ⇒ Fixnum
(also: #bxn)
private
Return the :bxn value from the geometry.
-
#d ⇒ Fixnum
(also: #x)
private
Return the :x value from the geometry.
-
#d_dn ⇒ Fixnum
(also: #bordered_width)
private
Return the :bordered_width value from the geometry.
- #initialize(geometry) ⇒ Vedeu::XCoordinate constructor private
Constructor Details
#initialize(geometry) ⇒ Vedeu::XCoordinate
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 |
# File 'lib/vedeu/support/x_coordinate.rb', line 13 def initialize(geometry) @geometry = geometry end |
Instance Attribute Details
#geometry ⇒ Vedeu::Geometries::Geometry (readonly, protected)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
53 54 55 |
# File 'lib/vedeu/support/x_coordinate.rb', line 53 def geometry @geometry end |
Instance Method Details
#bd ⇒ Fixnum Also known as: bx
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return the :bx value from the geometry.
28 29 30 |
# File 'lib/vedeu/support/x_coordinate.rb', line 28 def bd geometry.bx end |
#bdn ⇒ Fixnum Also known as: bxn
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return the :bxn value from the geometry.
36 37 38 |
# File 'lib/vedeu/support/x_coordinate.rb', line 36 def bdn geometry.bxn end |
#d ⇒ Fixnum Also known as: x
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return the :x value from the geometry.
20 21 22 |
# File 'lib/vedeu/support/x_coordinate.rb', line 20 def d geometry.x end |
#d_dn ⇒ Fixnum Also known as: bordered_width
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return the :bordered_width value from the geometry.
44 45 46 |
# File 'lib/vedeu/support/x_coordinate.rb', line 44 def d_dn geometry.bordered_width end |