Class: FreeType::API::Point
- Inherits:
-
Struct
- Object
- Struct
- FreeType::API::Point
- Defined in:
- lib/freetype/api.rb
Instance Attribute Summary collapse
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Method Summary collapse
Instance Attribute Details
#tag ⇒ Object
Returns the value of attribute tag
236 237 238 |
# File 'lib/freetype/api.rb', line 236 def tag @tag end |
#x ⇒ Object
Returns the value of attribute x
236 237 238 |
# File 'lib/freetype/api.rb', line 236 def x @x end |
#y ⇒ Object
Returns the value of attribute y
236 237 238 |
# File 'lib/freetype/api.rb', line 236 def y @y end |
Instance Method Details
#on_curve? ⇒ Boolean
237 238 239 |
# File 'lib/freetype/api.rb', line 237 def on_curve? tag & 0x01 != 0 end |