Module: Phlex::SVG::StandardElements
Instance Method Summary collapse
-
#a(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<a>` tag.
-
#animate(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<animate>` tag.
-
#animateMotion(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<animateMotion>` tag.
-
#animateTransform(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<animateTransform>` tag.
-
#circle(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<circle>` tag.
-
#clipPath(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<clipPath>` tag.
-
#defs(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<defs>` tag.
-
#desc(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<desc>` tag.
-
#discard(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<discard>` tag.
-
#ellipse(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<ellipse>` tag.
-
#feBlend(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feBlend>` tag.
-
#feColorMatrix(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feColorMatrix>` tag.
-
#feComponentTransfer(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feComponentTransfer>` tag.
-
#feComposite(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feComposite>` tag.
-
#feConvolveMatrix(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feConvolveMatrix>` tag.
-
#feDiffuseLighting(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feDiffuseLighting>` tag.
-
#feDisplacementMap(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feDisplacementMap>` tag.
-
#feDistantLight(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feDistantLight>` tag.
-
#feDropShadow(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feDropShadow>` tag.
-
#feFlood(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feFlood>` tag.
-
#feFuncA(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feFuncA>` tag.
-
#feFuncB(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feFuncB>` tag.
-
#feFuncG(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feFuncG>` tag.
-
#feFuncR(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feFuncR>` tag.
-
#feGaussianBlur(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feGaussianBlur>` tag.
-
#feImage(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feImage>` tag.
-
#feMerge(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feMerge>` tag.
-
#feMergeNode(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feMergeNode>` tag.
-
#feMorphology(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feMorphology>` tag.
-
#feOffset(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feOffset>` tag.
-
#fePointLight(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<fePointLight>` tag.
-
#feSpecularLighting(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feSpecularLighting>` tag.
-
#feSpotLight(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feSpotLight>` tag.
-
#feTile(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feTile>` tag.
-
#feTurbulence(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feTurbulence>` tag.
-
#filter(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<filter>` tag.
-
#foreignObject(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<foreignObject>` tag.
-
#g(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<g>` tag.
-
#image(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<image>` tag.
-
#line(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<line>` tag.
-
#linearGradient(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<linearGradient>` tag.
-
#marker(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<marker>` tag.
-
#mask(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<mask>` tag.
-
#metadata(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<metadata>` tag.
-
#mpath(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<mpath>` tag.
-
#path(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<path>` tag.
-
#pattern(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<pattern>` tag.
-
#polygon(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<polygon>` tag.
-
#polyline(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<polyline>` tag.
-
#radialGradient(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<radialGradient>` tag.
-
#rect(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<rect>` tag.
-
#script(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<script>` tag.
-
#set(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<set>` tag.
-
#stop(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<stop>` tag.
-
#style(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<style>` tag.
-
#svg(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<svg>` tag.
-
#switch(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<switch>` tag.
-
#symbol(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<symbol>` tag.
-
#text(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<text>` tag.
-
#textPath(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<textPath>` tag.
-
#title(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<title>` tag.
-
#tspan(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<tspan>` tag.
-
#use(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<use>` tag.
-
#view(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<view>` tag.
Methods included from Elements
register_element, register_void_element, registered_elements
Instance Method Details
#a(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<a>` tag.
11 |
# File 'lib/phlex/svg/standard_elements.rb', line 11 register_element :a |
#animate(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<animate>` tag.
18 |
# File 'lib/phlex/svg/standard_elements.rb', line 18 register_element :animate |
#animateMotion(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<animateMotion>` tag.
25 |
# File 'lib/phlex/svg/standard_elements.rb', line 25 register_element :animateMotion |
#animateTransform(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<animateTransform>` tag.
32 |
# File 'lib/phlex/svg/standard_elements.rb', line 32 register_element :animateTransform |
#circle(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<circle>` tag.
39 |
# File 'lib/phlex/svg/standard_elements.rb', line 39 register_element :circle |
#clipPath(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<clipPath>` tag.
46 |
# File 'lib/phlex/svg/standard_elements.rb', line 46 register_element :clipPath |
#defs(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<defs>` tag.
53 |
# File 'lib/phlex/svg/standard_elements.rb', line 53 register_element :defs |
#desc(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<desc>` tag.
60 |
# File 'lib/phlex/svg/standard_elements.rb', line 60 register_element :desc |
#discard(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<discard>` tag.
67 |
# File 'lib/phlex/svg/standard_elements.rb', line 67 register_element :discard |
#ellipse(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<ellipse>` tag.
74 |
# File 'lib/phlex/svg/standard_elements.rb', line 74 register_element :ellipse |
#feBlend(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feBlend>` tag.
81 |
# File 'lib/phlex/svg/standard_elements.rb', line 81 register_element :feBlend |
#feColorMatrix(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feColorMatrix>` tag.
88 |
# File 'lib/phlex/svg/standard_elements.rb', line 88 register_element :feColorMatrix |
#feComponentTransfer(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feComponentTransfer>` tag.
95 |
# File 'lib/phlex/svg/standard_elements.rb', line 95 register_element :feComponentTransfer |
#feComposite(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feComposite>` tag.
102 |
# File 'lib/phlex/svg/standard_elements.rb', line 102 register_element :feComposite |
#feConvolveMatrix(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feConvolveMatrix>` tag.
109 |
# File 'lib/phlex/svg/standard_elements.rb', line 109 register_element :feConvolveMatrix |
#feDiffuseLighting(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feDiffuseLighting>` tag.
116 |
# File 'lib/phlex/svg/standard_elements.rb', line 116 register_element :feDiffuseLighting |
#feDisplacementMap(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feDisplacementMap>` tag.
123 |
# File 'lib/phlex/svg/standard_elements.rb', line 123 register_element :feDisplacementMap |
#feDistantLight(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feDistantLight>` tag.
130 |
# File 'lib/phlex/svg/standard_elements.rb', line 130 register_element :feDistantLight |
#feDropShadow(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feDropShadow>` tag.
137 |
# File 'lib/phlex/svg/standard_elements.rb', line 137 register_element :feDropShadow |
#feFlood(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feFlood>` tag.
144 |
# File 'lib/phlex/svg/standard_elements.rb', line 144 register_element :feFlood |
#feFuncA(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feFuncA>` tag.
151 |
# File 'lib/phlex/svg/standard_elements.rb', line 151 register_element :feFuncA |
#feFuncB(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feFuncB>` tag.
158 |
# File 'lib/phlex/svg/standard_elements.rb', line 158 register_element :feFuncB |
#feFuncG(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feFuncG>` tag.
165 |
# File 'lib/phlex/svg/standard_elements.rb', line 165 register_element :feFuncG |
#feFuncR(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feFuncR>` tag.
172 |
# File 'lib/phlex/svg/standard_elements.rb', line 172 register_element :feFuncR |
#feGaussianBlur(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feGaussianBlur>` tag.
179 |
# File 'lib/phlex/svg/standard_elements.rb', line 179 register_element :feGaussianBlur |
#feImage(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feImage>` tag.
186 |
# File 'lib/phlex/svg/standard_elements.rb', line 186 register_element :feImage |
#feMerge(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feMerge>` tag.
193 |
# File 'lib/phlex/svg/standard_elements.rb', line 193 register_element :feMerge |
#feMergeNode(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feMergeNode>` tag.
200 |
# File 'lib/phlex/svg/standard_elements.rb', line 200 register_element :feMergeNode |
#feMorphology(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feMorphology>` tag.
207 |
# File 'lib/phlex/svg/standard_elements.rb', line 207 register_element :feMorphology |
#feOffset(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feOffset>` tag.
214 |
# File 'lib/phlex/svg/standard_elements.rb', line 214 register_element :feOffset |
#fePointLight(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<fePointLight>` tag.
221 |
# File 'lib/phlex/svg/standard_elements.rb', line 221 register_element :fePointLight |
#feSpecularLighting(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feSpecularLighting>` tag.
228 |
# File 'lib/phlex/svg/standard_elements.rb', line 228 register_element :feSpecularLighting |
#feSpotLight(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feSpotLight>` tag.
235 |
# File 'lib/phlex/svg/standard_elements.rb', line 235 register_element :feSpotLight |
#feTile(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feTile>` tag.
242 |
# File 'lib/phlex/svg/standard_elements.rb', line 242 register_element :feTile |
#feTurbulence(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<feTurbulence>` tag.
249 |
# File 'lib/phlex/svg/standard_elements.rb', line 249 register_element :feTurbulence |
#filter(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<filter>` tag.
256 |
# File 'lib/phlex/svg/standard_elements.rb', line 256 register_element :filter |
#foreignObject(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<foreignObject>` tag.
263 |
# File 'lib/phlex/svg/standard_elements.rb', line 263 register_element :foreignObject |
#g(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<g>` tag.
270 |
# File 'lib/phlex/svg/standard_elements.rb', line 270 register_element :g |
#image(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<image>` tag.
277 |
# File 'lib/phlex/svg/standard_elements.rb', line 277 register_element :image |
#line(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<line>` tag.
284 |
# File 'lib/phlex/svg/standard_elements.rb', line 284 register_element :line |
#linearGradient(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<linearGradient>` tag.
291 |
# File 'lib/phlex/svg/standard_elements.rb', line 291 register_element :linearGradient |
#marker(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<marker>` tag.
298 |
# File 'lib/phlex/svg/standard_elements.rb', line 298 register_element :marker |
#mask(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<mask>` tag.
305 |
# File 'lib/phlex/svg/standard_elements.rb', line 305 register_element :mask |
#metadata(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<metadata>` tag.
312 |
# File 'lib/phlex/svg/standard_elements.rb', line 312 register_element :metadata |
#mpath(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<mpath>` tag.
319 |
# File 'lib/phlex/svg/standard_elements.rb', line 319 register_element :mpath |
#path(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<path>` tag.
326 |
# File 'lib/phlex/svg/standard_elements.rb', line 326 register_element :path |
#pattern(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<pattern>` tag.
333 |
# File 'lib/phlex/svg/standard_elements.rb', line 333 register_element :pattern |
#polygon(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<polygon>` tag.
340 |
# File 'lib/phlex/svg/standard_elements.rb', line 340 register_element :polygon |
#polyline(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<polyline>` tag.
347 |
# File 'lib/phlex/svg/standard_elements.rb', line 347 register_element :polyline |
#radialGradient(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<radialGradient>` tag.
354 |
# File 'lib/phlex/svg/standard_elements.rb', line 354 register_element :radialGradient |
#rect(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<rect>` tag.
361 |
# File 'lib/phlex/svg/standard_elements.rb', line 361 register_element :rect |
#script(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<script>` tag.
368 |
# File 'lib/phlex/svg/standard_elements.rb', line 368 register_element :script |
#set(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<set>` tag.
375 |
# File 'lib/phlex/svg/standard_elements.rb', line 375 register_element :set |
#stop(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<stop>` tag.
382 |
# File 'lib/phlex/svg/standard_elements.rb', line 382 register_element :stop |
#style(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<style>` tag.
389 |
# File 'lib/phlex/svg/standard_elements.rb', line 389 register_element :style |
#svg(**attributes) {|component| ... } ⇒ nil
Outputs an ‘<svg>` tag.
396 |
# File 'lib/phlex/svg/standard_elements.rb', line 396 register_element :svg |
#switch(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<switch>` tag.
403 |
# File 'lib/phlex/svg/standard_elements.rb', line 403 register_element :switch |
#symbol(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<symbol>` tag.
410 |
# File 'lib/phlex/svg/standard_elements.rb', line 410 register_element :symbol |
#text(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<text>` tag.
417 |
# File 'lib/phlex/svg/standard_elements.rb', line 417 register_element :text |
#textPath(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<textPath>` tag.
424 |
# File 'lib/phlex/svg/standard_elements.rb', line 424 register_element :textPath |
#title(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<title>` tag.
431 |
# File 'lib/phlex/svg/standard_elements.rb', line 431 register_element :title |
#tspan(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<tspan>` tag.
438 |
# File 'lib/phlex/svg/standard_elements.rb', line 438 register_element :tspan |
#use(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<use>` tag.
445 |
# File 'lib/phlex/svg/standard_elements.rb', line 445 register_element :use |
#view(**attributes) {|component| ... } ⇒ nil
Outputs a ‘<view>` tag.
452 |
# File 'lib/phlex/svg/standard_elements.rb', line 452 register_element :view |