Class: RXaal::Center

Inherits:
Coordinate show all
Defined in:
lib/center.rb

Direct Known Subclasses

Radius

Instance Attribute Summary

Attributes inherited from Coordinate

#xpos, #ypos

Attributes inherited from XaalElement

#doc, #id, #refs

Instance Method Summary collapse

Methods inherited from Coordinate

#xaal_serialize

Methods inherited from XaalElement

#add_attribute, #add_ref, get_new_default_id, modify_ref, #rm_ref, #superclass_serialize

Methods included from Serializable

#xaal_serialize

Constructor Details

#initialize(xpos, ypos) ⇒ Center

Returns a new instance of Center.



3
4
5
# File 'lib/center.rb', line 3

def initialize(xpos, ypos)
  super(xpos,ypos)
end