Sha256: 346be3c21cab9ecf2ea9fcf874ead92edc3cb1a3962458451473bf0961a82522
Contents?: true
Size: 1014 Bytes
Versions: 11
Compression:
Stored size: 1014 Bytes
Contents
# ----------------------------------------------------------------------------- # Sets various filters for enhancing charts look and feel # # Holds any number of filters. such as bevel, shadow etc. You must specify # and id so that other drawable component can use the filters # # Author:: Fernand # ----------------------------------------------------------------------------- module Ziya::Charts::Support # Specifies the various filters that can be reused across components ie blur, bevel, glow, etc... # See http://www.maani.us/xml_charts/index.php?menu=Reference&submenu=filter # for additional documentation, examples and futher detail. class Filter < Base has_attribute :filters # ------------------------------------------------------------------------- # Dump has_attribute into xml element def flatten( xml ) if filters xml.filter do filters.each { |comp| comp.flatten( xml ) } end end end end end
Version data entries
11 entries across 11 versions & 2 rubygems