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
209 210 211 |
# File 'lib/freetype/api.rb', line 209 def tag @tag end |
#x ⇒ Object
Returns the value of attribute x
209 210 211 |
# File 'lib/freetype/api.rb', line 209 def x @x end |
#y ⇒ Object
Returns the value of attribute y
209 210 211 |
# File 'lib/freetype/api.rb', line 209 def y @y end |
Instance Method Details
#on_curve? ⇒ Boolean
210 211 212 |
# File 'lib/freetype/api.rb', line 210 def on_curve? tag & 0x01 != 0 end |