Class: Vedeu::YCoordinate Private
- Inherits:
-
Object
- Object
- Vedeu::YCoordinate
- Defined in:
- lib/vedeu/support/y_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: #by)
private
Return the :by value from the geometry.
-
#bdn ⇒ Fixnum
(also: #byn)
private
Return the :byn value from the geometry.
-
#d ⇒ Fixnum
(also: #y)
private
Return the :y value from the geometry.
-
#d_dn ⇒ Fixnum
(also: #bordered_height)
private
Return the :bordered_height value from the geometry.
- #initialize(geometry) ⇒ Vedeu::YCoordinate constructor private
Constructor Details
#initialize(geometry) ⇒ Vedeu::YCoordinate
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/y_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/y_coordinate.rb', line 53 def geometry @geometry end |
Instance Method Details
#bd ⇒ Fixnum Also known as: by
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 :by value from the geometry.
28 29 30 |
# File 'lib/vedeu/support/y_coordinate.rb', line 28 def bd geometry.by end |
#bdn ⇒ Fixnum Also known as: byn
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 :byn value from the geometry.
36 37 38 |
# File 'lib/vedeu/support/y_coordinate.rb', line 36 def bdn geometry.byn end |
#d ⇒ Fixnum Also known as: y
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 :y value from the geometry.
20 21 22 |
# File 'lib/vedeu/support/y_coordinate.rb', line 20 def d geometry.y end |
#d_dn ⇒ Fixnum Also known as: bordered_height
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_height value from the geometry.
44 45 46 |
# File 'lib/vedeu/support/y_coordinate.rb', line 44 def d_dn geometry.bordered_height end |