class OpenXml::DrawingML::Properties::ColorXformHue

Public Instance Methods

invalid_message() click to toggle source
# File lib/openxml/drawingml/properties/color_xform_hue.rb, line 13
def invalid_message
  "#{value.inspect} is an invalid value for #{name}; it must be an integer between 0 and 21,600,00"
end
valid?() click to toggle source
Calls superclass method
# File lib/openxml/drawingml/properties/color_xform_hue.rb, line 8
def valid?
  # 60,000ths of a degree
  super && value < 21_600_000
end