Class: FreeType::API::Vector

Inherits:
Struct
  • Object
show all
Defined in:
lib/freetype/api.rb

Instance Attribute Summary collapse

Instance Attribute Details

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



242
243
244
# File 'lib/freetype/api.rb', line 242

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



242
243
244
# File 'lib/freetype/api.rb', line 242

def y
  @y
end