Class: Postsvg::Translation::Handlers::PathHandler::SmoothState
- Inherits:
-
Struct
- Object
- Struct
- Postsvg::Translation::Handlers::PathHandler::SmoothState
- Defined in:
- lib/postsvg/translation/handlers/path_handler.rb
Overview
Control-point reflection state for smooth curves. nil when
the previous command wasn't a smooth-eligible curve.
Instance Attribute Summary collapse
-
#control_x ⇒ Object
Returns the value of attribute control_x.
-
#control_y ⇒ Object
Returns the value of attribute control_y.
-
#smoothable ⇒ Object
Returns the value of attribute smoothable.
Instance Attribute Details
#control_x ⇒ Object
Returns the value of attribute control_x
25 26 27 |
# File 'lib/postsvg/translation/handlers/path_handler.rb', line 25 def control_x @control_x end |
#control_y ⇒ Object
Returns the value of attribute control_y
25 26 27 |
# File 'lib/postsvg/translation/handlers/path_handler.rb', line 25 def control_y @control_y end |
#smoothable ⇒ Object
Returns the value of attribute smoothable
25 26 27 |
# File 'lib/postsvg/translation/handlers/path_handler.rb', line 25 def smoothable @smoothable end |