Class: Idml::Elements::PathPointType

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/idml/elements/path_point_type.rb

Overview

<PathPointType> — a single point in a path. The Anchor attribute is a space-separated "x y" pair. LeftDirection and RightDirection are Bézier control handles.

Instance Method Summary collapse

Instance Method Details

#xObject



20
21
22
# File 'lib/idml/elements/path_point_type.rb', line 20

def x
  coordinate(0)
end

#yObject



24
25
26
# File 'lib/idml/elements/path_point_type.rb', line 24

def y
  coordinate(1)
end