class CTioga2::MetaBuilder::Types::AlignedPointType

A class that produces a Graphics::Types::AlignedPoint. 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 85
def string_to_type_internal(str)
  default = @type[:default] || :frame
  return Graphics::Types::AlignedPoint::from_text(str, default)
end