class OpenXml::DrawingML::Properties::ColorXformAlphaOffset

Public Instance Methods

invalid_message() click to toggle source
# File lib/openxml/drawingml/properties/color_xform_alpha_offset.rb, line 12
def invalid_message
  "#{value.inspect} is an invalid value for #{name}; it must be a percentage between -100% and 100%"
end
valid?() click to toggle source
# File lib/openxml/drawingml/properties/color_xform_alpha_offset.rb, line 8
def valid?
  value =~ OpenXml::DrawingML::ST_FixedPercentage
end