class CTioga2::MetaBuilder::Types::PointType

A class that produces a Graphics::Types::Point. It takes one optional argument: a :default (:frame, :figure or :page), see Graphics::Types::Dimensions::from_text for more information.

Public Instance Methods

string_to_type_internal(str) click to toggle source
# File lib/ctioga2/metabuilder/types/coordinates.rb, line 70
def string_to_type_internal(str)
  default = @type[:default] || :figure
  return Graphics::Types::Point::from_text(str, default)
end